diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-05-24 21:37:02 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-20 11:08:22 -0700 |
commit | e0f0ab22a53899a137a00ada696b42f1cabcdf1c (patch) | |
tree | 296a359708204989bf356e188e4225e46438a072 /src | |
parent | dfb19f91313eb99fdd7f31ff66844a02fd4b73ff (diff) |
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
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 |