From 412a3653481a63e3eb558450a3f6d418ab8b3a7f Mon Sep 17 00:00:00 2001 From: zimmerma Date: Sat, 21 Dec 2013 09:02:15 +0000 Subject: make LOADLIBES work again git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1399 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit v1.2.1