summaryrefslogtreecommitdiff
path: root/src
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
commitcb98a024d02ad8bd5fd0805fb7781636b1e2cdad (patch)
treec52f1b07888aab651f006e46bd98ea60e344c58d /src
parent7f8aa22f917c809aebc83f3171af1ab73015ef5a (diff)
scons: Use only the shared object name when linking progs.
Otherwise the whole path gets baked into the executable.
Diffstat (limited to 'src')
-rw-r--r--src/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index 66a17452..2ec95a28 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -23,7 +23,8 @@ if platform != 'embedded':
progs_env.Prepend(LIBS = ['GLU', 'GL'])
# Glut
- progs_env.Prepend(LIBS = [glut])
+ progs_env.Prepend(LIBPATH = [glut.dir])
+ progs_env.Prepend(LIBS = [glut.name])
# GLEW
progs_env.Prepend(LIBS = [glew])