aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
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: