mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-06-01 21:03:43 +02:00
build: Move proctitle_LDFLAGS inside BUILD_LIBBSD_CTOR conditional
This commit is contained in:
parent
45443583df
commit
02c33d5022
@ -24,6 +24,12 @@ check_PROGRAMS = \
|
|||||||
$(nil)
|
$(nil)
|
||||||
|
|
||||||
if BUILD_LIBBSD_CTOR
|
if BUILD_LIBBSD_CTOR
|
||||||
|
proctitle_LDFLAGS = \
|
||||||
|
-Wl,-u,libbsd_init_func \
|
||||||
|
$(top_builddir)/src/libbsd-ctor.a \
|
||||||
|
$(top_builddir)/src/libbsd.la \
|
||||||
|
$(nil)
|
||||||
|
|
||||||
check_PROGRAMS += proctitle
|
check_PROGRAMS += proctitle
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -34,10 +40,4 @@ fparseln_SOURCES = test-stream.c test-stream.h fparseln.c
|
|||||||
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_LDFLAGS = \
|
|
||||||
-Wl,-u,libbsd_init_func \
|
|
||||||
$(top_builddir)/src/libbsd-ctor.a \
|
|
||||||
$(top_builddir)/src/libbsd.la \
|
|
||||||
$(nil)
|
|
||||||
|
|
||||||
TESTS = $(check_PROGRAMS)
|
TESTS = $(check_PROGRAMS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user