projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22aeb0c
)
scons: Conditionally use DRM module on pipe-loader.
author
Jose Fonseca
<jfonseca@vmware.com>
Sat, 21 Nov 2015 21:19:57 +0000
(21:19 +0000)
committer
Jose Fonseca
<jfonseca@vmware.com>
Sat, 21 Nov 2015 21:20:12 +0000
(21:20 +0000)
Fixes non Linux builds.
Trivial.
src/gallium/auxiliary/pipe-loader/SConscript
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/pipe-loader/SConscript
b/src/gallium/auxiliary/pipe-loader/SConscript
index 393b6021bee5d29cf7152674ca11f7738d1128d9..c611fb892f8108f486188c6173c33e15b2ee3a16 100644
(file)
--- a/
src/gallium/auxiliary/pipe-loader/SConscript
+++ b/
src/gallium/auxiliary/pipe-loader/SConscript
@@
-17,12
+17,11
@@
env.Append(CPPDEFINES = [
source = env.ParseSourceList('Makefile.sources', 'COMMON_SOURCES')
-#if HAVE_LIBDRM
-source += env.ParseSourceList('Makefile.sources', 'DRM_SOURCES')
+if env['HAVE_DRM']:
+
source += env.ParseSourceList('Makefile.sources', 'DRM_SOURCES')
-env.PkgUseModules('DRM')
-env.Append(LIBS = [libloader])
-#endif
+ env.PkgUseModules('DRM')
+ env.Append(LIBS = [libloader])
pipe_loader = env.ConvenienceLibrary(
target = 'pipe_loader',