OSDN Git Service

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 2e341e9..5b20f3f 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 bad5679..3a16c31 100644 (file)
@@ -40,4 +40,3 @@ module = env.LoadableModule(
     source = softpipe_sources,
 )
 
-env.Alias('softpipe-haiku', module)