summaryrefslogtreecommitdiff
path: root/src/glut
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-02-04 09:21:00 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-02-04 09:23:30 +0000
commitef67ad05cb2a23e555cfbfc67faf435677fbcf73 (patch)
tree1f7941492c144a691beabfab483af77fde6aeab1 /src/glut
parent7713069ae3ec24404d944d91614e4448b7c1a2c6 (diff)
scons: Use only the shared object name when linking progs.
Otherwise the whole path gets baked into the executable.
Diffstat (limited to 'src/glut')
-rw-r--r--src/glut/glx/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glut/glx/SConscript b/src/glut/glx/SConscript
index 5234e6d58a..9363b5ca5c 100644
--- a/src/glut/glx/SConscript
+++ b/src/glut/glx/SConscript
@@ -105,5 +105,7 @@ env.InstallSharedLibrary(glut, version=(3, 7, 1))
if env['platform'] == 'windows':
glut = env.FindIxes(glut, 'LIBPREFIX', 'LIBSUFFIX')
+else:
+ glut = env.FindIxes(glut, 'SHLIBPREFIX', 'SHLIBSUFFIX')
Export('glut')