]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/Makefile
Fixed problem running plugin in non-debug mode.
[stg.git] / projects / stargazer / plugins / store / postgresql / Makefile
index ef090f17d498c790542f6f89026583796ce0517c..b59fbbfa0466fc8f731c027d881badec87d4ce87 100644 (file)
@@ -19,11 +19,8 @@ STGLIBS = common \
          crypto \
          logger
 
          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
 
 
 LIBS += -lpq