git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another small fix in a build script.
[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 522058dda5bbefe9a03ebfc27fae17d2af0e846f..b59fbbfa0466fc8f731c027d881badec87d4ce87 100644
(file)
--- 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
./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
LIBS += -lpq