summaryrefslogtreecommitdiff
path: root/contrib/cube
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-24 23:30:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-24 23:30:10 +0000
commitac652466ec9ee98087650b9f164e4a4b5692e3a7 (patch)
treea6c78e0d4e4c1b5dfd79bfb2e7c63395c8e9a40e /contrib/cube
parentd675226e20f7a2b66bf42e2ffb14bb9b48f65302 (diff)
downloadpostgresql-ac652466ec9ee98087650b9f164e4a4b5692e3a7.tar.gz
Partial fixes for contrib build on AIX: include -lm where needed.
Per Rocco Altier.
Diffstat (limited to 'contrib/cube')
-rw-r--r--contrib/cube/Makefile3
1 files changed, 2 insertions, 1 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)