Mesa (mesa_7_7_branch): vmware/xorg: Link against libkms

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Wed Nov 25 23:48:27 UTC 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 45d9ea361981520a7c5df3ef1e10b76fac14bf02
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=45d9ea361981520a7c5df3ef1e10b76fac14bf02

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Tue Nov 24 19:20:59 2009 +0100

vmware/xorg: Link against libkms

If the system doesn't have libkms installed it wont try to link against it.

---

 src/gallium/winsys/drm/vmware/xorg/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/winsys/drm/vmware/xorg/Makefile b/src/gallium/winsys/drm/vmware/xorg/Makefile
index ea0ce18..423728e 100644
--- a/src/gallium/winsys/drm/vmware/xorg/Makefile
+++ b/src/gallium/winsys/drm/vmware/xorg/Makefile
@@ -21,6 +21,7 @@ LIBS = \
 	$(GALLIUM_AUXILIARIES)
 
 LINKS = \
+	$(shell pkg-config --libs --silence-errors libkms) \
 	$(shell pkg-config --libs libdrm)
 
 DRIVER_DEFINES = \




More information about the mesa-commit mailing list