From ef67ad05cb2a23e555cfbfc67faf435677fbcf73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 4 Feb 2010 09:21:00 +0000 Subject: scons: Use only the shared object name when linking progs. Otherwise the whole path gets baked into the executable. --- progs/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'progs') diff --git a/progs/SConscript b/progs/SConscript index 66a1745271..2ec95a282e 100644 --- a/progs/SConscript +++ b/progs/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]) -- cgit v1.2.3