diff --git a/contrib/dblink/Makefile b/contrib/dblink/Makefile index 1c8b658754..950fed5069 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))