diff --git a/contrib/tsm_system_time/Makefile b/contrib/tsm_system_time/Makefile index 168becf54e..4c08a9935a 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)