From ddacfd0150fdbd22ac3d49ab39ae681f91f70dec Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 17 Jun 2014 11:01:07 +0000 Subject: [PATCH] Pass Full path to Zorba .so --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 65065a1..e432224 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,7 +19,7 @@ tst: tst.o $(CXX) $^ -o $@ $(ZORBA_LIBS) $(MP_SO): metaproxy_filter_xquery.o - $(CXX) -shared $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(MP_LIBS) $(ZORBA_LIBS) + $(CXX) -Wl,-rpath -Wl,$(ZORBA)/lib -shared $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(MP_LIBS) $(ZORBA_LIBS) install: $(MP_SO) mkdir -p $(DESTDIR)$(libdir)/mp-xquery -- 1.7.10.4