From 1d9de64f0d235d7c58fad89e8caf315f8980db7f 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. --- src/glut/glx/SConscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glut/glx/SConscript b/src/glut/glx/SConscript index 5234e6d..9363b5c 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') -- cgit v1.2.1