From f46b5124627e47a197ad41ff5b9e27b82e19d945 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Feb 2019 12:51:06 +0100 Subject: Factor out drawing context from platform window implementation --- wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wscript') 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: -- cgit v1.2.1