scons: Use only the shared object name when linking progs.
Otherwise the whole path gets baked into the executable.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user