]> granicus.if.org Git - postgresql/commitdiff
> One more failure:
authorBruce Momjian <bruce@momjian.us>
Sun, 10 Jul 2005 18:32:55 +0000 (18:32 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 10 Jul 2005 18:32:55 +0000 (18:32 +0000)
>
> I think this is because we don't have -lz in SHLIB_LINK.
> Following patch fixes it.

Marko Kreen

contrib/pgcrypto/Makefile

index 81ad9b372e2bede93b0cc12dffb0a341d9ee9039..148df11306b151b771d6f4eed4dd404f423cc0e8 100644 (file)
@@ -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)