summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2013-10-04 17:28:42 +0000
committerAlexander von Gluck IV <[email protected]>2013-10-04 18:20:09 -0500
commit765baec8f75a75a8e4f057baaa83883d30245d5c (patch)
tree3f51a65912675072407168564de4281b1d30092f
parenta4144af40003783093ac95d91340a55e40c82b26 (diff)
haiku: Ensure correct libraries are referenced.
-rwxr-xr-xscons/gallium.py2
-rw-r--r--src/gallium/targets/haiku-softpipe/SConscript1
2 files changed, 2 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index 2e341e99f83..5b20f3ff686 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -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
diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript
index bad5679a35c..3a16c3174c4 100644
--- a/src/gallium/targets/haiku-softpipe/SConscript
+++ b/src/gallium/targets/haiku-softpipe/SConscript
@@ -40,4 +40,3 @@ module = env.LoadableModule(
source = softpipe_sources,
)
-env.Alias('softpipe-haiku', module)