From e0f0ab22a53899a137a00ada696b42f1cabcdf1c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 24 May 2012 21:37:02 -0700 Subject: Link with $(XORG_LIBS) to support no-undefined linking Will be empty on most platforms, set to the -z parent=Xorg flag on Solaris if building with the support for enforcing no undefined symbols. Signed-off-by: Alan Coopersmith --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.am b/src/Makefile.am index f16093f..5defcbe 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,6 +27,7 @@ AM_CFLAGS = $(XORG_CFLAGS) @DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la @DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version +@DRIVER_NAME@_drv_la_LIBADD = $(XORG_LIBS) @DRIVER_NAME@_drv_ladir = @inputdir@ @DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c -- cgit v1.2.3