diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-02-04 09:21:00 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:05:25 +0100 |
commit | 1d9de64f0d235d7c58fad89e8caf315f8980db7f (patch) | |
tree | 30c3183c772b03c8fa296180e374aa8f6b7f3e69 /src/glut/glx | |
parent | 48b17c3f0e86a0ffb8162956441365b0b656cbc2 (diff) | |
download | glut-1d9de64f0d235d7c58fad89e8caf315f8980db7f.tar.gz |
scons: Use only the shared object name when linking progs.
Otherwise the whole path gets baked into the executable.
Diffstat (limited to 'src/glut/glx')
-rw-r--r-- | src/glut/glx/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
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') |