Browse Source

[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.
Jeremy C. Reed 13 years ago
parent
commit
7cfa4f498e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/util/Makefile.am

+ 2 - 0
src/lib/util/Makefile.am

@@ -30,4 +30,6 @@ libutil_la_SOURCES += random/random_number_generator.h
 EXTRA_DIST = python/pycppwrapper_util.h
 EXTRA_DIST = python/pycppwrapper_util.h
 
 
 libutil_la_LIBADD = $(top_builddir)/src/lib/exceptions/libexceptions.la
 libutil_la_LIBADD = $(top_builddir)/src/lib/exceptions/libexceptions.la
+libutil_la_LDFLAGS = -no-undefined -version-info 1:0:0
+
 CLEANFILES = *.gcno *.gcda
 CLEANFILES = *.gcno *.gcda