aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-21 13:37:07 +0200
committerDavid Robillard <d@drobilla.net>2020-10-21 15:43:29 +0200
commit4857f9b76f351b2aaad2e61b3635f45570be6823 (patch)
tree76455f124d0fd592b87ca533be7cfbbc4933248f /wscript
parent72b11f220d3d1aeca6844afbf8c0c10129d1593e (diff)
downloadpugl-4857f9b76f351b2aaad2e61b3635f45570be6823.tar.gz
pugl-4857f9b76f351b2aaad2e61b3635f45570be6823.tar.bz2
pugl-4857f9b76f351b2aaad2e61b3635f45570be6823.zip
Fix Cairo backend compilation on Windows
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index e3526bd..2261e7c 100644
--- a/wscript
+++ b/wscript
@@ -364,7 +364,8 @@ def build(bld):
if bld.env.HAVE_CAIRO:
build_backend('win', 'cairo',
uselib=['CAIRO', 'GDI32', 'USER32'],
- source=['include/pugl/detail/win_cairo.c'])
+ source=['include/pugl/detail/win_cairo.c',
+ 'include/pugl/detail/win_stub.c'])
elif bld.env.TARGET_PLATFORM == 'darwin':
platform = 'mac'