From dc35902e3071b24749b6779e5a16c477e84a97a0 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 16 Mar 2006 17:31:11 +0000 Subject: Using libtool to get runpath for tap library git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1325 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/tests/Makefile.am') diff --git a/plugins/tests/Makefile.am b/plugins/tests/Makefile.am index c73725de..d3e74945 100644 --- a/plugins/tests/Makefile.am +++ b/plugins/tests/Makefile.am @@ -15,8 +15,8 @@ LIBS = @LIBINTL@ test_utils_SOURCES = test_utils.c test_utils_CFLAGS = -g -I.. -test_utils_LDFLAGS = -L.. -test_utils_LDADD = ../utils.o $(TAPLIBS) +test_utils_LDFLAGS = -rpath /usr/local/lib -ltap +test_utils_LDADD = ../utils.o test: ${noinst_PROGRAMS} perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) -- cgit v1.2.3