mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
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 cfe12763c32437bc708a64ce88a90c7544f16185 added a sqrt() call.
This commit is contained in:
parent
1e700e0fa0
commit
0689cfc34b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user