projects
/
mp-xquery-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e15a2a
)
Pass rpath to tst program too
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 Jun 2014 09:01:20 +0000
(11:01 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 18 Jun 2014 09:01:20 +0000
(11:01 +0200)
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
73bd1c7
..
e1b12aa
100644
(file)
--- 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