aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-14 17:04:02 +0800
committerDavid Robillard <d@drobilla.net>2016-09-14 17:18:22 +0800
commitfc023d0913e518dc4e96a2b804a99abe21935ff2 (patch)
treec8b52dc9d45880f0c3f8e6d85a8606e429e14b4e /wscript
parent380126452078c69862d2037886679bcade662c17 (diff)
downloadpugl-fc023d0913e518dc4e96a2b804a99abe21935ff2.tar.gz
pugl-fc023d0913e518dc4e96a2b804a99abe21935ff2.tar.bz2
pugl-fc023d0913e518dc4e96a2b804a99abe21935ff2.zip
Clean up pugl_test and remove use of GLU
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/wscript b/wscript
index a65dc96..349ee14 100644
--- a/wscript
+++ b/wscript
@@ -105,7 +105,7 @@ def build(bld):
if bld.env.TARGET_PLATFORM == 'win32':
lang = 'cxx'
lib_source = ['pugl/pugl_win.cpp']
- libs = ['opengl32', 'glu32', 'gdi32', 'user32']
+ libs = ['opengl32', 'gdi32', 'user32']
defines = []
elif bld.env.TARGET_PLATFORM == 'darwin':
lang = 'c' # Objective C, actually
@@ -118,9 +118,11 @@ def build(bld):
libs = ['X11']
defines = []
if bld.is_defined('HAVE_GL'):
- libs += ['GL', 'GLU']
+ libs += ['GL']
if bld.env['MSVC_COMPILER']:
libflags = []
+ else:
+ libs += ['m']
# Shared Library
if bld.env['BUILD_SHARED']: