summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2013-12-21 09:02:15 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2013-12-21 09:02:15 +0000
commit412a3653481a63e3eb558450a3f6d418ab8b3a7f (patch)
treec0d9c8e27de2be3a032e86db47142df60a7fc293
parent382320d7b18653d5f76055ba49a7d4823ea5c1f6 (diff)
downloadmpc-412a3653481a63e3eb558450a3f6d418ab8b3a7f.tar.gz
make LOADLIBES work again
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1399 211d60ee-9f03-0410-a15a-8952a2c7a4e4
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8bae3ef..d90bf1e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -25,7 +25,7 @@ AM_LDFLAGS = -no-install
# LOADLIBES (documented in the "GNU make" manual and equivalent to LDLIBS)
# enables to compile a program foo.c in the test directory by simply doing
# "make foo".
-LOADLIBES=$(DEFS) -I$(top_srcdir)/src -I$(top_builddir) $(CPPFLAGS) $(CFLAGS) -L$(top_builddir)/tests/.libs -lmpc-tests -lmpc -lm $(LIBS)
+LOADLIBES=$(DEFS) -I$(top_srcdir)/src -I$(top_builddir) $(CPPFLAGS) $(CFLAGS) -L$(top_builddir)/src/.libs -L$(top_builddir)/tests/.libs -lmpc-tests -lmpc -lm -Wl,-rpath -Wl,$(top_builddir)/src/.libs $(LIBS)
check_PROGRAMS = tabs tacos tacosh tadd tadd_fr tadd_si tadd_ui targ tasin \
tasinh tatan tatanh tconj tcos tcosh tdiv tdiv_2si tdiv_2ui tdiv_fr tdiv_ui \