osaf/tools/safimm/immcfg/Makefile.am |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Add libdl library to Makefile.am for immcfg.
On Ubuntu 13.04 with gcc 4.7.3, it's not possible to link files without missing 
library.

diff --git a/osaf/tools/safimm/immcfg/Makefile.am 
b/osaf/tools/safimm/immcfg/Makefile.am
--- a/osaf/tools/safimm/immcfg/Makefile.am
+++ b/osaf/tools/safimm/immcfg/Makefile.am
@@ -37,7 +37,9 @@ immcfg_SOURCES = \
        imm_import.cc \
        imm_cfg.c
 
-immcfg_LDFLAGS = @XML2_LIBS@
+immcfg_LDFLAGS = \
+       @XML2_LIBS@ \
+       -ldl
 
 immcfg_LDADD = \
        $(top_builddir)/osaf/libs/core/libopensaf_core.la \

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to