From: Jeremy C. Reed Date: Wed, 20 Jun 2012 16:30:44 +0000 (-0500) Subject: [master] set library version X-Git-Tag: trac2351_base~226^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cfa4f498e1fb27ec3abfe755c00729a183f9211;p=thirdparty%2Fkea.git [master] set library version Introduced new InterprocessSync interface. Error seen when linking for liblog was: /libexec/ld-elf.so.1: /usr/home/jreed/builder/work/BIND10-cppcheck/20120620133007-FreeBSD8-amd64-GCC/ build/src/lib/log/.libs/liblog.so.1: Undefined symbol "_ZTVN3isc4util20InterprocessSyncFileE" This could also be worked around by reordering if LIBADD, but that had to be done in multiple places and still doesn't fix real problem. --- diff --git a/src/lib/util/Makefile.am b/src/lib/util/Makefile.am index fad24651d1..283ac72c4e 100644 --- a/src/lib/util/Makefile.am +++ b/src/lib/util/Makefile.am @@ -30,4 +30,6 @@ libutil_la_SOURCES += random/random_number_generator.h EXTRA_DIST = python/pycppwrapper_util.h libutil_la_LIBADD = $(top_builddir)/src/lib/exceptions/libexceptions.la +libutil_la_LDFLAGS = -no-undefined -version-info 1:0:0 + CLEANFILES = *.gcno *.gcda