diff options
author | David Robillard <d@drobilla.net> | 2016-09-14 17:04:02 +0800 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-14 17:18:22 +0800 |
commit | fc023d0913e518dc4e96a2b804a99abe21935ff2 (patch) | |
tree | c8b52dc9d45880f0c3f8e6d85a8606e429e14b4e /wscript | |
parent | 380126452078c69862d2037886679bcade662c17 (diff) |
Clean up pugl_test and remove use of GLU
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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']: |