Slightly more compact rpath spec
[mp-xquery-moved-to-github.git] / src / Makefile
index e432224..73bd1c7 100644 (file)
@@ -19,7 +19,7 @@ tst: tst.o
        $(CXX) $^ -o $@ $(ZORBA_LIBS)
 
 $(MP_SO): metaproxy_filter_xquery.o
-       $(CXX) -Wl,-rpath -Wl,$(ZORBA)/lib -shared $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(MP_LIBS) $(ZORBA_LIBS)
+       $(CXX) -Wl,-rpath,$(ZORBA)/lib -shared $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(MP_LIBS) $(ZORBA_LIBS)
 
 install: $(MP_SO)
        mkdir -p $(DESTDIR)$(libdir)/mp-xquery
@@ -32,4 +32,4 @@ run_tst: tst
        LD_LIBRARY_PATH=$(ZORBA)/lib ./tst
 
 run_mp:
-       LD_LIBRARY_PATH=$(ZORBA)/lib ../../metaproxy/src/metaproxy -c config.xml -X
+       ../../metaproxy/src/metaproxy -c config.xml -X