haiku: Ensure correct libraries are referenced.
authorAlexander von Gluck IV <kallisti5@unixzen.com>
Fri, 4 Oct 2013 17:28:42 +0000 (17:28 +0000)
committerAlexander von Gluck IV <kallisti5@unixzen.com>
Fri, 4 Oct 2013 23:20:09 +0000 (18:20 -0500)
scons/gallium.py
src/gallium/targets/haiku-softpipe/SConscript

index 2e341e99f83176ea27d18180088340bdbeb54c85..5b20f3ff6869e42f1a09c2bf16325b6e32b929ba 100755 (executable)
@@ -506,6 +506,8 @@ def generate(env):
         libs += ['m', 'pthread', 'dl']
     if env['platform'] in ('linux',):
         libs += ['rt']
+    if env['platform'] in ('haiku'):
+        libs += ['root', 'be', 'network']
     env.Append(LIBS = libs)
 
     # OpenMP
index bad5679a35c346b55fa9d9243e4790f3b3b297a2..3a16c3174c4d6b7f364fa49fb38f77db0b3fd530 100644 (file)
@@ -40,4 +40,3 @@ module = env.LoadableModule(
     source = softpipe_sources,
 )
 
-env.Alias('softpipe-haiku', module)