Update example module to use metaproxy-config
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 7 May 2013 11:29:47 +0000 (13:29 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 7 May 2013 11:29:47 +0000 (13:29 +0200)
rather than yazpp-config.

example-module/Makefile

index 63810a2..a352aed 100644 (file)
@@ -1,10 +1,12 @@
-CONFIG=../../yazpp/yazpp-config
+CONFIG=../metaproxy-config
 SO=metaproxy_filter_myfilter.so
 
 all: $(SO)
 
 $(SO): filter_myfilter.cpp
-       $(CXX) -shared `$(CONFIG) --cflags` -fPIC -I ../src $< -o $(SO) ../src/.libs/libmetaproxy.so -ldl
+       echo $(LIBS)
+       $(CXX) -shared `$(CONFIG) --cflags` -fPIC -I ../src $< \
+               -o $(SO) `$(CONFIG) --libs`
 
 clean:
        rm -f *.so