From 54f2116877561e6b6360d317b84f24b1a2aa906d Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 3 Nov 2010 15:41:06 +0000 Subject: xorg/vmwgfx: Link libkms when available. --- src/gallium/targets/xorg-vmwgfx/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/targets/xorg-vmwgfx/SConscript') diff --git a/src/gallium/targets/xorg-vmwgfx/SConscript b/src/gallium/targets/xorg-vmwgfx/SConscript index 20d851742a8..f9172aae684 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', -- cgit v1.2.3