X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=example-module%2FMakefile;h=63810a29943d33869b54316b36cf53e691beda82;hb=b0c61b7f8b17d876c88347a96c246c47493140da;hp=8264d1691914a985ee7a479643b0dae9696e6e63;hpb=a28906b37e77689e7f42f22c58da8e61acc794e6;p=metaproxy-moved-to-github.git diff --git a/example-module/Makefile b/example-module/Makefile index 8264d16..63810a2 100644 --- 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