From: Adam Dickmeiss Date: Tue, 17 Jun 2014 11:01:07 +0000 (+0000) Subject: Pass Full path to Zorba .so X-Git-Tag: v0.1~2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=ddacfd0150fdbd22ac3d49ab39ae681f91f70dec;p=mp-xquery-moved-to-github.git Pass Full path to Zorba .so --- 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