projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0d7342
)
Link pg_stat_statements with libm.
author
Noah Misch
<noah@leadboat.com>
Thu, 9 Jul 2015 00:44:22 +0000
(20:44 -0400)
committer
Noah Misch
<noah@leadboat.com>
Thu, 9 Jul 2015 00:44:26 +0000
(20:44 -0400)
The AIX 7.1 libm is static, and AIX postgres executables do not export
symbols acquired from libraries. Back-patch to 9.5, where commit
cfe12763c32437bc708a64ce88a90c7544f16185
added a sqrt() call.
contrib/pg_stat_statements/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_stat_statements/Makefile
b/contrib/pg_stat_statements/Makefile
index 975a637897cdf33235a42e781fa3ff0f9f77e43d..835ec82fc605604c6053bec9214cce47b034ac46 100644
(file)
--- a/
contrib/pg_stat_statements/Makefile
+++ b/
contrib/pg_stat_statements/Makefile
@@
-9,6
+9,8
@@
DATA = pg_stat_statements--1.3.sql pg_stat_statements--1.2--1.3.sql \
pg_stat_statements--unpackaged--1.0.sql
PGFILEDESC = "pg_stat_statements - execution statistics of SQL statements"
+LDFLAGS_SL += $(filter -lm, $(LIBS))
+
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)