mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-05-29 07:25:57 +02:00
build: Centralize testsuite LDADD setting in a single variable
This commit is contained in:
parent
c7e01e9884
commit
205827a2dd
@ -7,6 +7,8 @@ AM_CPPFLAGS = \
|
|||||||
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
|
-DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \
|
||||||
-D__REENTRANT
|
-D__REENTRANT
|
||||||
|
|
||||||
|
LDADD = $(top_builddir)/src/libbsd.la
|
||||||
|
|
||||||
check_PROGRAMS = \
|
check_PROGRAMS = \
|
||||||
headers \
|
headers \
|
||||||
overlay \
|
overlay \
|
||||||
@ -21,12 +23,9 @@ if BUILD_LIBBSD_CTOR
|
|||||||
check_PROGRAMS += proctitle
|
check_PROGRAMS += proctitle
|
||||||
endif
|
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_SOURCES = proctitle.c
|
||||||
proctitle_init_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_USE_SETPROCTITLE_INIT=1
|
proctitle_init_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_USE_SETPROCTITLE_INIT=1
|
||||||
proctitle_init_LDFLAGS = $(top_builddir)/src/libbsd.la
|
|
||||||
proctitle_LDFLAGS = \
|
proctitle_LDFLAGS = \
|
||||||
-Wl,-u,libbsd_init_func \
|
-Wl,-u,libbsd_init_func \
|
||||||
$(top_builddir)/src/libbsd-ctor.a \
|
$(top_builddir)/src/libbsd-ctor.a \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user