aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-09-10 21:38:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-09-10 21:38:26 +0000
commit723af8e67a14c7ed4ba164929aeb6d6c5aa238f0 (patch)
treea5fb2818ecd8ce69fb24d50805b7dd41251f6c8f
parent17c371fe82b7bed48cce4532d9337ccee9cdc009 (diff)
downloadpostgresql-723af8e67a14c7ed4ba164929aeb6d6c5aa238f0.tar.gz
postgresql-723af8e67a14c7ed4ba164929aeb6d6c5aa238f0.zip
Fix dblink build for --enable-nls or --enable-openssl on AIX.
Per Chris Browne.
-rw-r--r--contrib/dblink/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/dblink/Makefile b/contrib/dblink/Makefile
index 1c8b6587545..950fed50693 100644
--- a/contrib/dblink/Makefile
+++ b/contrib/dblink/Makefile
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/contrib/dblink/Makefile,v 1.11 2006/02/27 12:54:38 petere Exp $
+# $PostgreSQL: pgsql/contrib/dblink/Makefile,v 1.12 2006/09/10 21:38:26 tgl Exp $
MODULE_big = dblink
PG_CPPFLAGS = -I$(libpq_srcdir)
@@ -20,3 +20,6 @@ top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
+
+# Apparently AIX requires that we mention everything libpq depends on :-(
+SHLIB_LINK += $(filter -lintl -lssl -lcrypto, $(LIBS))