Skip to content

Commit 786f3d1

Browse files
committed
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
1 parent e9ec104 commit 786f3d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/interfaces/libpq/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.112 2004/07/13 00:06:44 tgl Exp $
7+
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.113 2004/09/26 02:14:47 momjian Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -28,7 +28,9 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
2828
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o, $(LIBOBJS))
2929

3030
ifeq ($(PORTNAME), win32)
31-
OBJS+=win32.o
31+
OBJS+=win32.o libpqrc.o
32+
libpqrc.o: libpq.rc
33+
windres -i libpq.rc -o libpqrc.o
3234
ifeq ($(enable_thread_safety), yes)
3335
# This doesn't work yet because configure test fails. 2004-06-19
3436
OBJS+=pthread-win32.o

0 commit comments

Comments
 (0)