summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2005-07-10 18:32:55 +0000
committerBruce Momjian2005-07-10 18:32:55 +0000
commit2e330699fae72c40f5237ce0f4fc210c483d2816 (patch)
tree470acf78b39701abb017fc297a5858dec4e41653
parent21634e513fb78a2bac171f86f79e06b23fcdbf6d (diff)
> One more failure:
> > I think this is because we don't have -lz in SHLIB_LINK. > Following patch fixes it. Marko Kreen
-rw-r--r--contrib/pgcrypto/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pgcrypto/Makefile b/contrib/pgcrypto/Makefile
index 81ad9b372e2..148df11306b 100644
--- a/contrib/pgcrypto/Makefile
+++ b/contrib/pgcrypto/Makefile
@@ -1,5 +1,5 @@
#
-# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.20 2005/07/10 03:57:55 momjian Exp $
+# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.21 2005/07/10 18:32:55 momjian Exp $
#
INT_SRCS = md5.c sha1.c sha2.c internal.c blf.c rijndael.c \
@@ -56,9 +56,9 @@ endif
# Add libraries that pgcrypto depends (or might depend) on into the
# shared library link. (The order in which you list them here doesn't
# matter.)
-SHLIB_LINK += $(filter -lcrypt -ldes -lcrypto -lssl, $(LIBS))
+SHLIB_LINK += $(filter -lcrypt -ldes -lcrypto -lssl -lz, $(LIBS))
ifeq ($(PORTNAME), win32)
-SHLIB_LINK += $(filter -leay32 -lssleay32, $(LIBS))
+SHLIB_LINK += $(filter -leay32 -lssleay32 -lz, $(LIBS))
endif
# to make ws2_32.lib the last library (must occur after definition of PORTNAME)