Content-Length: 256438 | pFad | http://github.com/postgrespro/postgres/commit/0689cfc34b09136b9daee9c60c85fbed21b62370

F9 Link pg_stat_statements with libm. · postgrespro/postgres@0689cfc · GitHub
Skip to content

Commit 0689cfc

Browse files
committed
Link pg_stat_statements with libm.
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 cfe1276 added a sqrt() call.
1 parent 1e700e0 commit 0689cfc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pg_stat_statements/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ DATA = pg_stat_statements--1.3.sql pg_stat_statements--1.2--1.3.sql \
99
pg_stat_statements--unpackaged--1.0.sql
1010
PGFILEDESC = "pg_stat_statements - execution statistics of SQL statements"
1111

12+
LDFLAGS_SL += $(filter -lm, $(LIBS))
13+
1214
ifdef USE_PGXS
1315
PG_CONFIG = pg_config
1416
PGXS := $(shell $(PG_CONFIG) --pgxs)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0689cfc34b09136b9daee9c60c85fbed21b62370

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy