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