summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto
diff options
context:
space:
mode:
authorTom Lane2004-09-14 03:39:55 +0000
committerTom Lane2004-09-14 03:39:55 +0000
commitbf06825e31de28692f3976e729c2700274d9b578 (patch)
tree0823e8c9bfcdcb16a7b6074b61711df52096f254 /contrib/pgcrypto
parentfc564686a76ff045a4dba85a3b077de4fe4b64b6 (diff)
Win32 compile fixes for pgbench, pgcrypto, and tsearch.
Claudio Natoli
Diffstat (limited to 'contrib/pgcrypto')
-rw-r--r--contrib/pgcrypto/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/pgcrypto/Makefile b/contrib/pgcrypto/Makefile
index 429c837925c..c210664e0d2 100644
--- a/contrib/pgcrypto/Makefile
+++ b/contrib/pgcrypto/Makefile
@@ -1,5 +1,5 @@
#
-# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.11 2004/08/20 20:13:06 momjian Exp $
+# $PostgreSQL: pgsql/contrib/pgcrypto/Makefile,v 1.12 2004/09/14 03:39:48 tgl Exp $
#
# either 'builtin', 'mhash', 'openssl'
@@ -82,6 +82,11 @@ include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
+# to make ws2_32.lib the last library (must occur after definition of PORTNAME)
+ifeq ($(PORTNAME),win32)
+SHLIB_LINK += -lwsock32 -lws2_32
+endif
+
rijndael.o: rijndael.tbl