]> granicus.if.org Git - postgresql/commitdiff
The Win32 (mingw) build of libpq seems to have lost it's SSL libs from
authorBruce Momjian <bruce@momjian.us>
Wed, 6 Oct 2004 16:42:01 +0000 (16:42 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 6 Oct 2004 16:42:01 +0000 (16:42 +0000)
the link step resulting in a build failure. The attached patch fixes
that.

Dave Page

src/interfaces/libpq/Makefile

index b0a90b010c7c9ae999a27e0df46809d442989ff0..66063180744b0e9b3a6568458ff97541ef4831e5 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 1994, Regents of the University of California
 #
-# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.114 2004/10/04 20:36:12 momjian Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.115 2004/10/06 16:42:01 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -47,7 +47,7 @@ endif
 # matter.)
 SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl, $(LIBS)) $(PTHREAD_LIBS)
 ifeq ($(PORTNAME), win32)
-SHLIB_LINK += -lwsock32 -lws2_32
+SHLIB_LINK += -lwsock32 -lws2_32 $(filter -leay32 -lssleay32, $(LIBS))
 endif