]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/Makefile
Fixed problem running plugin in non-debug mode.
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / Makefile
index c2fb03d63f9bf21ec5e50bf00cd58b3ae252078c..c647f7524d918e1f2772e0ab289c76a876aaf00c 100644 (file)
@@ -15,16 +15,13 @@ SRCS = ./rpcconfig.cpp \
        ./admins_methods.cpp \
        ./messages_methods.cpp
 
        ./admins_methods.cpp \
        ./messages_methods.cpp
 
-XMLRPC_C_LIBS = $(shell xmlrpc-c-config c++2 abyss-server --libs)
+LIBS += $(XMLRPC_LDFLAGS) \
+       $(LIB_THREAD) \
+       $(LIBICONV)
 
 
-LIBS += $(XMLRPC_C_LIBS) \
-       $(LIB_THREAD)
-
-ifneq ($(OS),linux)
-LIBS += -liconv
-endif
-
-STGLIBS = -lstg_common -lstg_logger
+STGLIBS = common \
+         logger \
+         scriptexecuter
 
 include ../../Makefile.in
 
 
 include ../../Makefile.in