diff options
Diffstat (limited to 'src/glu/sgi')
-rw-r--r-- | src/glu/sgi/SConscript | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/glu/sgi/SConscript b/src/glu/sgi/SConscript index 94c74267fd2..97405d86911 100644 --- a/src/glu/sgi/SConscript +++ b/src/glu/sgi/SConscript @@ -122,12 +122,18 @@ else: ]) target = 'glu' -glu = env.SharedLibrary( - target = target, - source = sources -) +if env['platform'] == 'haiku': + glu = env.StaticLibrary( + target = target, + source = sources + ) +else: + glu = env.SharedLibrary( + target = target, + source = sources + ) + env.Alias('glu', env.InstallSharedLibrary(glu, version=(1, 3, 0))) -env.Alias('glu', env.InstallSharedLibrary(glu, version=(1, 3, 0))) if env['platform'] == 'windows': glu = env.FindIxes(glu, 'LIBPREFIX', 'LIBSUFFIX') |