diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-07-25 16:37:12 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-07-25 16:37:12 -0400 |
commit | c879d51c5918ab5fc8feb9624aa4eae10ee93094 (patch) | |
tree | 8adf8c17405da9e1375d70461c8b307bb3f75410 /contrib/tsm_system_time | |
parent | b7b5a1899aa3caeef30117f8e36c1f0e68e8847a (diff) | |
download | postgresql-c879d51c5918ab5fc8feb9624aa4eae10ee93094.tar.gz postgresql-c879d51c5918ab5fc8feb9624aa4eae10ee93094.zip |
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().
Diffstat (limited to 'contrib/tsm_system_time')
-rw-r--r-- | contrib/tsm_system_time/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tsm_system_time/Makefile b/contrib/tsm_system_time/Makefile index 168becf54e2..4c08a9935ab 100644 --- a/contrib/tsm_system_time/Makefile +++ b/contrib/tsm_system_time/Makefile @@ -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) |