git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'stg-2.409' into stg-2.409-radius
[stg.git]
/
projects
/
stargazer
/
plugins
/
store
/
postgresql
/
Makefile
diff --git
a/projects/stargazer/plugins/store/postgresql/Makefile
b/projects/stargazer/plugins/store/postgresql/Makefile
index 0bd8f629771d74ebf7d13e125250853367564c63..b59fbbfa0466fc8f731c027d881badec87d4ce87 100644
(file)
--- a/
projects/stargazer/plugins/store/postgresql/Makefile
+++ b/
projects/stargazer/plugins/store/postgresql/Makefile
@@
-17,14
+17,10
@@
SRCS = ./postgresql_store.cpp \
STGLIBS = common \
crypto \
STGLIBS = common \
crypto \
- locker \
logger
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