diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-24 23:30:10 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-07-24 23:30:10 +0000 |
| commit | ac652466ec9ee98087650b9f164e4a4b5692e3a7 (patch) | |
| tree | a6c78e0d4e4c1b5dfd79bfb2e7c63395c8e9a40e /contrib | |
| parent | d675226e20f7a2b66bf42e2ffb14bb9b48f65302 (diff) | |
| download | postgresql-ac652466ec9ee98087650b9f164e4a4b5692e3a7.tar.gz | |
Partial fixes for contrib build on AIX: include -lm where needed.
Per Rocco Altier.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/cube/Makefile | 3 | ||||
| -rw-r--r-- | contrib/earthdistance/Makefile | 4 | ||||
| -rw-r--r-- | contrib/tablefunc/Makefile | 2 | ||||
| -rw-r--r-- | contrib/tsearch2/Makefile | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/contrib/cube/Makefile b/contrib/cube/Makefile index f4b0d0b501..dd953aae53 100644 --- a/contrib/cube/Makefile +++ b/contrib/cube/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/contrib/cube/Makefile,v 1.12 2004/08/20 20:13:02 momjian Exp $ +# $PostgreSQL: pgsql/contrib/cube/Makefile,v 1.13 2005/07/24 23:30:09 tgl Exp $ MODULE_big = cube OBJS= cube.o cubeparse.o @@ -9,6 +9,7 @@ REGRESS = cube EXTRA_CLEAN = cubeparse.c cubeparse.h cubescan.c y.tab.c y.tab.h +SHLIB_LINK += $(filter -lm, $(LIBS)) ifdef USE_PGXS PGXS = $(shell pg_config --pgxs) diff --git a/contrib/earthdistance/Makefile b/contrib/earthdistance/Makefile index 35ad6d6104..8cb804ee19 100644 --- a/contrib/earthdistance/Makefile +++ b/contrib/earthdistance/Makefile @@ -1,10 +1,12 @@ -# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.14 2004/08/20 20:13:03 momjian Exp $ +# $PostgreSQL: pgsql/contrib/earthdistance/Makefile,v 1.15 2005/07/24 23:30:09 tgl Exp $ MODULES = earthdistance DATA_built = earthdistance.sql DOCS = README.earthdistance REGRESS = earthdistance +SHLIB_LINK += $(filter -lm, $(LIBS)) + ifdef USE_PGXS PGXS = $(shell pg_config --pgxs) include $(PGXS) diff --git a/contrib/tablefunc/Makefile b/contrib/tablefunc/Makefile index 4b87fd95a5..b2b8cb2e00 100644 --- a/contrib/tablefunc/Makefile +++ b/contrib/tablefunc/Makefile @@ -3,6 +3,8 @@ DATA_built = tablefunc.sql DOCS = README.tablefunc REGRESS = tablefunc +SHLIB_LINK += $(filter -lm, $(LIBS)) + ifdef USE_PGXS PGXS = $(shell pg_config --pgxs) include $(PGXS) diff --git a/contrib/tsearch2/Makefile b/contrib/tsearch2/Makefile index 15983db428..1691dd578d 100644 --- a/contrib/tsearch2/Makefile +++ b/contrib/tsearch2/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/contrib/tsearch2/Makefile,v 1.8 2004/10/17 23:09:31 tgl Exp $ +# $PostgreSQL: pgsql/contrib/tsearch2/Makefile,v 1.9 2005/07/24 23:30:10 tgl Exp $ MODULE_big = tsearch2 OBJS = dict_ex.o dict.o snmap.o stopword.o common.o prs_dcfg.o \ @@ -19,7 +19,7 @@ DATA_built = tsearch2.sql untsearch2.sql DOCS = README.tsearch2 REGRESS = tsearch2 -SHLIB_LINK := -lm +SHLIB_LINK += $(filter -lm, $(LIBS)) ifdef USE_PGXS |
