[PATCH nested] Add XORG_LIBS to LIBADD

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Tue Mar 27 22:16:30 PDT 2012


From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>

This affects only Cygwin, where drivers must be linked against the
Xorg implib.  On other systems, XORG_LIBS will be empty.

Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
 src/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 57f661d..fd60a31 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,7 +24,8 @@
 AM_CFLAGS = $(XORG_CFLAGS) $(PCIACCESS_CFLAGS) $(X11_CFLAGS) $(XEXT_CFLAGS)
 
 nested_drv_la_LTLIBRARIES = nested_drv.la
-nested_drv_la_LDFLAGS = -module -avoid-version $(X11_LIBS) $(XEXT_LIBS)
+nested_drv_la_LDFLAGS = -module -avoid-version
+nested_drv_la_LIBADD = $(XORG_LIBS) $(X11_LIBS) $(XEXT_LIBS)
 nested_drv_ladir = @moduledir@/drivers
 
 nested_drv_la_SOURCES = driver.c nested_input.c nested_input.h xlibclient.c client.h
-- 
1.7.9



More information about the xorg-devel mailing list