projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.0.23. Bump copyright year.
[metaproxy-moved-to-github.git]
/
example-module
/
Makefile
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
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:
clean:
- rm *.so
+ rm -f *.so
run: all
../src/metaproxy -c config.xml
run: all
../src/metaproxy -c config.xml