Some platforms now need contrib/tsm_system_time to be linked with libm.

Buildfarm member hornet, at least, seems to want -lm in the link command.
Probably this is due to the just-added use of isnan().
This commit is contained in:
Tom Lane 2015-07-25 16:37:12 -04:00
parent 87221867e8
commit 62005e9465
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ DATA = tsm_system_time--1.0.sql
REGRESS = tsm_system_time
SHLIB_LINK += $(filter -lm, $(LIBS))
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)