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 b7b5a1899a
commit c879d51c59

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)