summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-03-28 00:11:30 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2012-04-05 21:54:06 -0500
commit85f10de940908f22e77a275e1992b616ab5fe7de (patch)
tree3256eb05dcf60ff6f061d60149e74664d90593d9 /src
parentea72bf8742673daa1b4130cb518537f2bdd0a68f (diff)
Add XORG_LIBS to LIBADD
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@users.sourceforge.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
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