diff options
-rw-r--r-- | bin/schroot-mount/Makefile.am | 5 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/schroot-mount/Makefile.am b/bin/schroot-mount/Makefile.am index 2ef80468..fe45ac44 100644 --- a/bin/schroot-mount/Makefile.am +++ b/bin/schroot-mount/Makefile.am @@ -35,4 +35,7 @@ schroot_mount_SOURCES = \ schroot-mount-options.h \ schroot-mount-options.cc \ schroot-mount.cc -schroot_mount_LDADD = $(top_builddir)/bin/schroot-base/libschroot-base.la + +schroot_mount_LDADD = $(BOOST_FILESYSTEM_LIBS) \ + $(top_builddir)/bin/schroot-base/libschroot-base.la + diff --git a/configure.ac b/configure.ac index 17415350..8c5081f2 100644 --- a/configure.ac +++ b/configure.ac @@ -309,12 +309,13 @@ LDFLAGS="${LDFLAGS} -lboost_filesystem-mt" AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <boost/filesystem.hpp>], [boost::filesystem::is_directory("/")])], [AC_MSG_RESULT([yes]) - BOOST_LIBS="${BOOST_LIBS} -lboost_filesystem-mt"], + BOOST_FILESYSTEM_LIBS="-lboost_filesystem-mt"], [AC_MSG_RESULT([no]) AC_MSG_FAILURE([libboost_filesystem (Boost C++ Libraries) is not installed, but is required by schroot])]) LDFLAGS="${saved_ldflags}" AC_SUBST([BOOST_LIBS]) +AC_SUBST([BOOST_FILESYSTEM_LIBS]) AC_MSG_CHECKING([for __gnu_cxx::stdio_filebuf in libstdc++]) AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ext/stdio_filebuf.h> |