]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/Makefile
Fix build on FreeBSD.
[stg.git] / projects / stargazer / plugins / store / postgresql / Makefile
index b59e45cd19e550ec8c74f46bbb7d15cc57e07380..b59fbbfa0466fc8f731c027d881badec87d4ce87 100644 (file)
@@ -17,13 +17,10 @@ SRCS =      ./postgresql_store.cpp \
 
 STGLIBS = common \
          crypto \
-         locker
+         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