Use more explicit linking

This commit is contained in:
Danny Robson 2011-08-29 14:39:23 +10:00
parent 09b2f5ae0f
commit 0f29342826

View File

@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = dist-bzip2 dist-xz foreign
ACLOCAL_AMFLAGS = -I m4
AM_CXXFLAGS = $(BOOST_CPPFLAGS) $(COMMON_CXXFLAGS)
AM_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_FILESYSTEM_LIB) $(COMMON_LDFLAGS)
AM_LDFLAGS = $(BOOST_LDFLAGS) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(COMMON_LDFLAGS)
SUBDIRS = test
@ -78,3 +78,4 @@ SUFFIXES = .cpp .cpp.rl
lib_LTLIBRARIES = libutil.la
libutil_la_SOURCES = $(UTIL_INCLUDE) $(UTIL_FILES)
libutil_la_CXXFLAGS = -fPIC $(AM_CXXFLAGS)
libutil_la_LIBADD = $(BOOST_SYSTEM_LIB)