From: levill_r <levill_r@4aad255d-cdde-0310-9447-f3009e2ae8c0>
* src/Makefile.am (libdyn_la_LIBADD): Add $(BOOST_FILESYSTEM_LIBS).
(libdyn_la_CPPFLAGS): Add $(BOOST_CPPFLAGS).
(libdyn_la_LDFLAGS): Add $(BOOST_FILESYSTEM_LDFLAGS).
git-svn-id:
https://svn.lrde.epita.fr/svn/oln/trunk@4661
4aad255d-cdde-0310-9447-f3009e2ae8c0
---
dynamic-use-of-static-c++/ChangeLog | 8 ++++++++
dynamic-use-of-static-c++/src/Makefile.am | 10 ++++++----
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog
index 33c229f..b17fe73 100644
--- a/dynamic-use-of-static-c++/ChangeLog
+++ b/dynamic-use-of-static-c++/ChangeLog
@@ -1,5 +1,13 @@
2009-10-22 Roland Levillain <roland(a)lrde.epita.fr>
+ Have libdyn depend on Boost Filesystem and Boost String Algorithms.
+
+ * src/Makefile.am (libdyn_la_LIBADD): Add $(BOOST_FILESYSTEM_LIBS).
+ (libdyn_la_CPPFLAGS): Add $(BOOST_CPPFLAGS).
+ (libdyn_la_LDFLAGS): Add $(BOOST_FILESYSTEM_LDFLAGS).
+
+2009-10-22 Roland Levillain <roland(a)lrde.epita.fr>
+
Add support for the Boost Filesystem and String Algorithms Libraries.
* config/boost.m4: New (imported).
diff --git a/dynamic-use-of-static-c++/src/Makefile.am
b/dynamic-use-of-static-c++/src/Makefile.am
index 7d62edf..c6f975c 100644
--- a/dynamic-use-of-static-c++/src/Makefile.am
+++ b/dynamic-use-of-static-c++/src/Makefile.am
@@ -45,13 +45,15 @@ libdyn_la_SOURCES = \
ruby_stream.hh ruby_stream.cc \
ansidecl.h demangle.h config.hh
-libdyn_la_LIBADD = @LIBERTYARG@ @RUBY_LIBRUBYARG_SHARED@ $(LIBLTDL)
+libdyn_la_LIBADD = @LIBERTYARG@ @RUBY_LIBRUBYARG_SHARED@ $(LIBLTDL) \
+ $(BOOST_FILESYSTEM_LIBS)
libdyn_la_DEPENDENCIES = $(LTDLDEPS)
-libdyn_la_CPPFLAGS = \
- $(LTDLINCL) -I$(top_builddir) -I$(srcdir) -I. -I@RUBY_topdir@
+libdyn_la_CPPFLAGS = \
+ $(LTDLINCL) $(BOOST_CPPFLAGS) \
+ -I$(top_builddir) -I$(srcdir) -I. -I@RUBY_topdir@
libdyn_la_CXXFLAGS = $(WARNING_CXXFLAGS)
-libdyn_la_LDFLAGS = -version-info 0:1:0
+libdyn_la_LDFLAGS = -version-info 0:1:0 $(BOOST_FILESYSTEM_LDFLAGS)
#############
--
1.6.5