summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-11-03 15:41:06 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-11-03 15:41:06 +0000
commit54f2116877561e6b6360d317b84f24b1a2aa906d (patch)
tree36a47d575ee1c3e6246308057147290f4c266d2c /src
parentd49dfe66cfb0e13094e5918b9857c4eb474a53f6 (diff)
xorg/vmwgfx: Link libkms when available.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/targets/xorg-vmwgfx/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/xorg-vmwgfx/SConscript b/src/gallium/targets/xorg-vmwgfx/SConscript
index 20d851742a..f9172aae68 100644
--- a/src/gallium/targets/xorg-vmwgfx/SConscript
+++ b/src/gallium/targets/xorg-vmwgfx/SConscript
@@ -6,6 +6,9 @@ env = env.Clone()
env.ParseConfig('pkg-config --cflags --libs libdrm xorg-server')
+if env['kms']:
+ env.ParseConfig('pkg-config --cflags --libs libkms')
+
env.Prepend(CPPPATH = [
'#/include',
'#/src/gallium',