[Mesa-dev] [PATCH 6/6] haiku: Ensure correct libraries are referenced.
Alexander von Gluck IV
kallisti5 at unixzen.com
Fri Oct 4 10:36:07 PDT 2013
---
scons/gallium.py | 2 ++
src/gallium/targets/haiku-softpipe/SConscript | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 2e341e9..5b20f3f 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 bad5679..3a16c31 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)
--
1.8.4
More information about the mesa-dev
mailing list