From b406ecda2ce06fdb056d7ec6522893f38c3bbbdf Mon Sep 17 00:00:00 2001 From: "Diego E. 'Flameeyes' Pettenò" Date: Wed, 19 Nov 2008 03:21:30 +0100 Subject: If the linker suppors it, ensure that the library has no undefined references. This is important to make sure that no bugs are introduced that breaks when using --as-needed. --- configure.ac | 2 ++ libdaemon/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3078ab4..38b7701 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,8 @@ AC_TYPE_SIZE_T AC_SYS_LARGEFILE +CC_NOUNDEFINED + ZP_LYNX_DOC AC_ARG_ENABLE(examples, diff --git a/libdaemon/Makefile.am b/libdaemon/Makefile.am index 11a5305..220006a 100644 --- a/libdaemon/Makefile.am +++ b/libdaemon/Makefile.am @@ -39,4 +39,4 @@ libdaemon_la_SOURCES = \ daemon.h \ $(pkg_include_HEADERS) -libdaemon_la_LDFLAGS = -version-info $(LIBDAEMON_VERSION_INFO) +libdaemon_la_LDFLAGS = -version-info $(LIBDAEMON_VERSION_INFO) $(LDFLAGS_NOUNDEFINED) -- cgit