]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/mysql/Makefile
Fixed problem running plugin in non-debug mode.
[stg.git] / projects / stargazer / plugins / store / mysql / Makefile
index 0c01bd5ae365b9c62fce2aaf5213d678c12ff428..d676c81a18b4c9d647d803545b4025e8648c7e31 100644 (file)
@@ -8,10 +8,9 @@ PROG = mod_store_mysql.so
 
 SRCS = ./mysql_store.cpp
 
-STGLIBS = -lstg_common -lstg_crypto
-
-MYSQL_CFLAGS = $(shell mysql_config --cflags)
-MYSQL_LDFLAGS = $(shell mysql_config --libs_r)
+STGLIBS = common \
+         crypto \
+         logger
 
 CXXFLAGS += $(MYSQL_CFLAGS)
 LIBS += $(MYSQL_LDFLAGS)