[RFC PATCH:xf86-input-mouse 6/15] Link with modules needed to build with no-undefined linking
Alan Coopersmith
alan.coopersmith at oracle.com
Fri May 25 08:02:10 PDT 2012
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
src/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index 910949e..8cb3dea 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -28,6 +28,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(XORG_CFLAGS)
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
@DRIVER_NAME at _drv_la_LTLIBRARIES = @DRIVER_NAME at _drv.la
@DRIVER_NAME at _drv_la_LDFLAGS = -module -avoid-version
+ at DRIVER_NAME@_drv_la_LIBADD = $(XORG_LIBS) -lm
@DRIVER_NAME at _drv_ladir = @inputdir@
# We have to list all the mouse drivers here, even if we don't build them, so
--
1.7.9.2
More information about the xorg-devel
mailing list