]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/Makefile
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / Makefile
index cbbe79c6b855275b2eca3badeec82eb3b287058c..c647f7524d918e1f2772e0ab289c76a876aaf00c 100644 (file)
@@ -15,14 +15,9 @@ SRCS = ./rpcconfig.cpp \
        ./admins_methods.cpp \
        ./messages_methods.cpp
 
-XMLRPC_C_LIBS = $(shell xmlrpc-c-config c++2 abyss-server --libs)
-
-LIBS += $(XMLRPC_C_LIBS) \
-       $(LIB_THREAD)
-
-ifneq ($(OS),linux)
-LIBS += -liconv
-endif
+LIBS += $(XMLRPC_LDFLAGS) \
+       $(LIB_THREAD) \
+       $(LIBICONV)
 
 STGLIBS = common \
          logger \