]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] set library version
authorJeremy C. Reed <jreed@ISC.org>
Wed, 20 Jun 2012 16:30:44 +0000 (11:30 -0500)
committerJeremy C. Reed <jreed@ISC.org>
Wed, 20 Jun 2012 16:30:44 +0000 (11:30 -0500)
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.

src/lib/util/Makefile.am

index fad24651d15dace783af0dd3d20a758fe2e90d91..283ac72c4eb07fa923f74b7ac60a1eabf293897a 100644 (file)
@@ -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