Browse Source

[trac499] Add library dependencies to server_common tests

The link was failing on Ubuntu because the loader was not able to
find some libraries referred to by libserver_common.  Adding the
libries explicitly in the link solves this problem.
Stephen Morris 14 years ago
parent
commit
827babb0d6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/server_common/tests/Makefile.am

+ 3 - 0
src/lib/server_common/tests/Makefile.am

@@ -33,6 +33,9 @@ run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
 run_unittests_LDADD = $(GTEST_LDADD)
 
 run_unittests_LDADD += $(top_builddir)/src/lib/server_common/libserver_common.la
+run_unittests_LDADD += $(top_builddir)/src/lib/asiolink/libasiolink.la
+run_unittests_LDADD += $(top_builddir)/src/lib/cc/libcc.la
+run_unittests_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
 endif
 
 noinst_PROGRAMS = $(TESTS)