vmware/xorg: Link against libkms
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 24 Nov 2009 18:20:59 +0000 (19:20 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 24 Nov 2009 18:20:59 +0000 (19:20 +0100)
If the system doesn't have libkms installed it wont try to link against it.

src/gallium/winsys/drm/vmware/xorg/Makefile

index ea0ce18fd1e4c7658dfa430ab6bf29b09e1120ff..423728e2b498926d8083a2c1c8aa46d840f44515 100644 (file)
@@ -21,6 +21,7 @@ LIBS = \
        $(GALLIUM_AUXILIARIES)
 
 LINKS = \
+       $(shell pkg-config --libs --silence-errors libkms) \
        $(shell pkg-config --libs libdrm)
 
 DRIVER_DEFINES = \