]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/mysql/Makefile
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / plugins / store / mysql / Makefile
index 81196222db5bbff9beec8c32b19e276d4f6e1535..d676c81a18b4c9d647d803545b4025e8648c7e31 100644 (file)
@@ -8,10 +8,9 @@ PROG = mod_store_mysql.so
 
 SRCS = ./mysql_store.cpp
 
-STGLIBS = -lstgcommon -lstgcrypto
-
-MYSQL_CFLAGS = $(shell mysql_config --cflags)
-MYSQL_LDFLAGS = $(shell mysql_config --libs_r)
+STGLIBS = common \
+         crypto \
+         logger
 
 CXXFLAGS += $(MYSQL_CFLAGS)
 LIBS += $(MYSQL_LDFLAGS)