From 1699ede93aee42c8a0944de672ab8c4f88a634f3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 18 Jun 2014 11:01:20 +0200 Subject: [PATCH] Pass rpath to tst program too --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 73bd1c7..e1b12aa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -16,7 +16,7 @@ CXXFLAGS := $(ZORBA_CFLAGS) $(MP_CFLAGS) -fPIC all: tst $(MP_SO) tst: tst.o - $(CXX) $^ -o $@ $(ZORBA_LIBS) + $(CXX) -Wl,-rpath,$(ZORBA)/lib $^ -o $@ $(ZORBA_LIBS) $(MP_SO): metaproxy_filter_xquery.o $(CXX) -Wl,-rpath,$(ZORBA)/lib -shared $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(MP_LIBS) $(ZORBA_LIBS) @@ -29,7 +29,7 @@ clean: rm -f *.o tst $(MP_SO) run_tst: tst - LD_LIBRARY_PATH=$(ZORBA)/lib ./tst + ./tst run_mp: ../../metaproxy/src/metaproxy -c config.xml -X -- 1.7.10.4