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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy