From: Josh Durgin Date: Wed, 5 Jun 2013 19:22:34 +0000 (-0700) Subject: Makefile.am: add -ldl to unittest_pglog X-Git-Tag: v0.65~150 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=30733af9dbae104240fe0c39aaa682cd8663f365;p=ceph.git Makefile.am: add -ldl to unittest_pglog b70868e007ffa56e0eabf22b4ca836327c5f82d4 broke non-package builds on ubuntu and debian. This fixes the problem, and is required for anything compiling class_api.cc. Signed-off-by: Josh Durgin --- diff --git a/src/Makefile.am b/src/Makefile.am index 6d44e944f908..f146744ed91e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -744,6 +744,10 @@ unittest_pglog_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} unittest_pglog_LDADD = libosd.a $(LIBOS_LDA) $(LIBGLOBAL_LDA) ${UNITTEST_LDADD} check_PROGRAMS += unittest_pglog +if LINUX +unittest_pglog_LDADD += -ldl +endif + unittest_gather_SOURCES = test/gather.cc unittest_gather_LDADD = ${LIBGLOBAL_LDA} ${UNITTEST_LDADD} unittest_gather_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS}