summaryrefslogtreecommitdiff
path: root/src/gallium/targets/haiku-softpipe/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/SConscript')
-rw-r--r--src/gallium/targets/haiku-softpipe/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript
index 3a16c3174c..40bf03cf41 100644
--- a/src/gallium/targets/haiku-softpipe/SConscript
+++ b/src/gallium/targets/haiku-softpipe/SConscript
@@ -26,7 +26,8 @@ env.Append(CPPPATH = [
])
if env['llvm']:
- env.Append(CPPDEFINES = 'HAVE_LLVMPIPE')
+ env.Append(CPPDEFINES = ['GALLIUM_LLVMPIPE'])
+ env.Prepend(LIBS = [llvmpipe])
softpipe_sources = [
'GalliumContext.cpp',
@@ -34,7 +35,7 @@ softpipe_sources = [
'SoftwareRenderer.cpp'
]
-# libswpipe gets turned into "Software Renderer" by the haiku package system
+# libswpipe gets turned into "Softpipe" by the haiku package system
module = env.LoadableModule(
target ='swpipe',
source = softpipe_sources,