diff options
author | Guillem Jover <guillem@hadrons.org> | 2014-11-01 00:52:42 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2015-09-23 07:59:34 +0200 |
commit | 205827a2dd16e5a14628631eea926f9da9b672a7 (patch) | |
tree | 86087d370abc849754a327bcc90db0e2ddf5998b /test | |
parent | c7e01e9884a2478360a2629aea5583eaf7be0ea2 (diff) |
build: Centralize testsuite LDADD setting in a single variable
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index c6e2daa..eb32e85 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -7,6 +7,8 @@ AM_CPPFLAGS = \ -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \ -D__REENTRANT +LDADD = $(top_builddir)/src/libbsd.la + check_PROGRAMS = \ headers \ overlay \ @@ -21,12 +23,9 @@ if BUILD_LIBBSD_CTOR check_PROGRAMS += proctitle endif -humanize_LDFLAGS = $(top_builddir)/src/libbsd.la -fgetln_LDFLAGS = $(top_builddir)/src/libbsd.la -funopen_LDFLAGS = $(top_builddir)/src/libbsd.la proctitle_init_SOURCES = proctitle.c proctitle_init_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_USE_SETPROCTITLE_INIT=1 -proctitle_init_LDFLAGS = $(top_builddir)/src/libbsd.la + proctitle_LDFLAGS = \ -Wl,-u,libbsd_init_func \ $(top_builddir)/src/libbsd-ctor.a \ |