From: Guillem Jover Date: Mon, 30 Nov 2015 01:48:23 +0000 (+0100) Subject: build: Move proctitle_LDFLAGS inside BUILD_LIBBSD_CTOR conditional X-Git-Tag: 0.8.0~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02c33d50226360de04d5a5da997a040a5413c35f;p=thirdparty%2Flibbsd.git build: Move proctitle_LDFLAGS inside BUILD_LIBBSD_CTOR conditional --- diff --git a/test/Makefile.am b/test/Makefile.am index 2576eeb..d64608d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -24,6 +24,12 @@ check_PROGRAMS = \ $(nil) 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 endif @@ -34,10 +40,4 @@ fparseln_SOURCES = test-stream.c test-stream.h fparseln.c proctitle_init_SOURCES = proctitle.c 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)