Restore additional link-time flags to restore build on Ubuntu 11.10.

This does probably paper over some underlying issue, but I don't have
the time right now to investigate the problem further.
This commit is contained in:
Bård Skaflestad
2012-06-07 12:41:31 +02:00
parent 024f95be5d
commit 8edbd2c296

View File

@@ -4,7 +4,10 @@ AM_CPPFLAGS = \
$(BOOST_CPPFLAGS)
# All targets link to the library
LDADD = $(top_builddir)/libopmcore.la
LDADD = \
$(top_builddir)/libopmcore.la \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB)
# ----------------------------------------------------------------------
# Declare products (i.e., the example programs).
@@ -37,4 +40,7 @@ if UMFPACK
noinst_PROGRAMS += spu_2p
spu_2p_SOURCES = spu_2p.cpp
spu_2p_LDADD = \
$(LDADD) \
$(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
endif