projects
/
metaproxy-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:
665559c
)
Added -fPIC.
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 23 Feb 2009 16:53:13 +0000
(17:53 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 23 Feb 2009 16:53:13 +0000
(17:53 +0100)
example-module/Makefile
patch
|
blob
|
history
diff --git
a/example-module/Makefile
b/example-module/Makefile
index
8264d16
..
63810a2
100644
(file)
--- a/
example-module/Makefile
+++ b/
example-module/Makefile
@@
-4,10
+4,10
@@
SO=metaproxy_filter_myfilter.so
all: $(SO)
$(SO): filter_myfilter.cpp
- $(CXX) -shared `$(CONFIG) --cflags` -I ../src $< -o $(SO) ../src/.libs/libmetaproxy.so -ldl
+ $(CXX) -shared `$(CONFIG) --cflags` -fPIC -I ../src $< -o $(SO) ../src/.libs/libmetaproxy.so -ldl
clean:
- rm *.so
+ rm -f *.so
run: all
../src/metaproxy -c config.xml