aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-26 02:14:47 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-26 02:14:47 +0000
commit786f3d147dad9568b79c37ab4d49b3fd3c407e06 (patch)
treedc936985549eb0e288701c58e36f3cc10a7abe45
parente9ec10494e09e2b5a4659b454693ee5bcb15e5b2 (diff)
downloadpostgresql-786f3d147dad9568b79c37ab4d49b3fd3c407e06.tar.gz
postgresql-786f3d147dad9568b79c37ab4d49b3fd3c407e06.zip
Here is a patch that adds the version info from libpq.rc to the DLL
build in mingw. The MSVC build already did this, but it was not linked into the mingw one. This is not the same as the versioninfo patch that's in the queue. Please apply this one before beta-3 if at all possible. Magnus Hagander
-rw-r--r--src/interfaces/libpq/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index f77ecd4aca9..d65b4775a0d 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.112 2004/07/13 00:06:44 tgl Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.113 2004/09/26 02:14:47 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -28,7 +28,9 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o, $(LIBOBJS))
ifeq ($(PORTNAME), win32)
-OBJS+=win32.o
+OBJS+=win32.o libpqrc.o
+libpqrc.o: libpq.rc
+ windres -i libpq.rc -o libpqrc.o
ifeq ($(enable_thread_safety), yes)
# This doesn't work yet because configure test fails. 2004-06-19
OBJS+=pthread-win32.o