X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..314d6747391083c89173741c610066c72a0b3b8b:/projects/stargazer/plugins/store/postgresql/Makefile

diff --git a/projects/stargazer/plugins/store/postgresql/Makefile b/projects/stargazer/plugins/store/postgresql/Makefile
index 522058dd..b59fbbfa 100644
--- a/projects/stargazer/plugins/store/postgresql/Makefile
+++ b/projects/stargazer/plugins/store/postgresql/Makefile
@@ -15,13 +15,12 @@ SRCS =	./postgresql_store.cpp \
 	./postgresql_store_users.cpp \
 	./postgresql_store_utils.cpp
 
-STGLIBS = -lstg_common -lstg_crypto
+STGLIBS = common \
+	  crypto \
+	  logger
 
-PG_CFLAGS = $(shell pg_config --includedir)
-PG_LDFLAGS = $(shell pg_config --libdir)
-
-CXXFLAGS +=  -I $(PG_CFLAGS)
-LDFLAGS += -L $(PG_LDFLAGS)
+CXXFLAGS +=  $(PG_CFLAGS)
+LDFLAGS += $(PG_LDFLAGS)
 
 LIBS += -lpq