BIND 10 master, updated. f17c3559e3353f42150d8fa742e1658285811d47 [master] Force generation of shared test libraries when static linking.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Aug 22 07:46:40 UTC 2013


The branch, master has been updated
       via  f17c3559e3353f42150d8fa742e1658285811d47 (commit)
      from  fe33a56cfbcd0f846e09a6151313bbb510f76352 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f17c3559e3353f42150d8fa742e1658285811d47
Author: Marcin Siodelski <marcin at isc.org>
Date:   Thu Aug 22 09:40:13 2013 +0200

    [master] Force generation of shared test libraries when static linking.
    
    The new hooks tests require two shared libraries, which were not generated
    when static linking was used and caused tests to fail. This patch forces
    generation of these shared libraries. Okayed on jabber.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcpsrv/tests/Makefile.am |    3 +++
 1 file changed, 3 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/tests/Makefile.am b/src/lib/dhcpsrv/tests/Makefile.am
index b9e544f..087b28d 100644
--- a/src/lib/dhcpsrv/tests/Makefile.am
+++ b/src/lib/dhcpsrv/tests/Makefile.am
@@ -15,6 +15,7 @@ AM_CXXFLAGS += $(WARNING_NO_MISSING_FIELD_INITIALIZERS_CFLAG)
 
 if USE_STATIC_LINK
 AM_LDFLAGS = -static
+TEST_LIBS_LDFLAGS = -Bshareable
 endif
 
 CLEANFILES = *.gcno *.gcda
@@ -30,10 +31,12 @@ lib_LTLIBRARIES = libco1.la libco2.la
 libco1_la_SOURCES  = callout_library.cc
 libco1_la_CXXFLAGS = $(AM_CXXFLAGS)
 libco1_la_CPPFLAGS = $(AM_CPPFLAGS) $(LOG4CPLUS_INCLUDES)
+libco1_la_LDFLAGS = $(TEST_LIBS_LDFLAGS)
 
 libco2_la_SOURCES  = callout_library.cc
 libco2_la_CXXFLAGS = $(AM_CXXFLAGS)
 libco2_la_CPPFLAGS = $(AM_CPPFLAGS) $(LOG4CPLUS_INCLUDES)
+libco2_la_LDFLAGS = $(TEST_LIBS_LDFLAGS)
 
 
 TESTS += libdhcpsrv_unittests



More information about the bind10-changes mailing list