Don't use the debugging CRT and different name when building LO for debugging

This commit is contained in:
Tor Lillqvist 2012-02-09 10:34:21 +02:00 committed by Tor Lillqvist
parent 95e79b3ebd
commit 1c343fd6e3

View File

@ -11,7 +11,7 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/Makefile mi
diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak
--- misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak 2011-12-14 14:28:59.000000000 +0100
+++ misc/build/postgresql-9.1.1.patched/src/interfaces/libpq/win32.mak 2011-12-15 09:11:37.000000000 +0100
@@ -13,18 +13,19 @@
@@ -13,30 +13,29 @@
# CPU="i386" or CPU environment of nmake.exe (AMD64 or IA64)
@ -35,6 +35,20 @@ diff --recursive -u misc/build/postgresql-9.1.1/src/interfaces/libpq/win32.mak m
!ERROR Make aborted.
!ENDIF
!IFDEF DEBUG
-OPT=/Od /Zi /MDd
+OPT=/Od /Zi
LOPT=/DEBUG
-DEBUGDEF=/D _DEBUG
-OUTFILENAME=libpqd
+OUTFILENAME=libpq
!ELSE
OPT=/O2 /MD
LOPT=
-DEBUGDEF=/D NDEBUG
OUTFILENAME=libpq
!ENDIF
@@ -56,7 +57,7 @@
!ENDIF