]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/Makefile
Fixes in dealing with external libs.
[stg.git] / projects / stargazer / plugins / store / postgresql / Makefile
index ef090f17d498c790542f6f89026583796ce0517c..b59fbbfa0466fc8f731c027d881badec87d4ce87 100644 (file)
@@ -19,11 +19,8 @@ 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