aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-02-15 12:51:06 +0100
committerDavid Robillard <d@drobilla.net>2019-02-16 16:56:50 +0100
commitf46b5124627e47a197ad41ff5b9e27b82e19d945 (patch)
treebaa281528cfa2359630bf48f9d3fba2981e31b5d /wscript
parentcf80f78f808e402d06dc891fce08b0f3b3865c15 (diff)
downloadpugl-f46b5124627e47a197ad41ff5b9e27b82e19d945.tar.gz
pugl-f46b5124627e47a197ad41ff5b9e27b82e19d945.tar.bz2
pugl-f46b5124627e47a197ad41ff5b9e27b82e19d945.zip
Factor out drawing context from platform window implementation
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/wscript b/wscript
index 8d7f070..a61f73f 100644
--- a/wscript
+++ b/wscript
@@ -103,7 +103,10 @@ def build(bld):
lib_source = ['pugl/pugl_x11.c']
libs = ['X11']
if bld.is_defined('HAVE_GL'):
- libs += ['GL']
+ lib_source += ['pugl/pugl_x11_gl.c']
+ libs += ['GL']
+ if bld.is_defined('HAVE_CAIRO'):
+ lib_source += ['pugl/pugl_x11_cairo.c']
if bld.env['MSVC_COMPILER']:
libflags = []
else: