From: Magnus Hagander Date: Thu, 10 Jan 2008 16:03:00 +0000 (+0000) Subject: Generate and include manifest in standalone libpq build on Windows. X-Git-Tag: REL8_3_RC2~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21a00dc6fd8ce606dee278106988db6edb0a4ccb;p=postgresql Generate and include manifest in standalone libpq build on Windows. Hiroshi Saito --- diff --git a/src/interfaces/libpq/win32.mak b/src/interfaces/libpq/win32.mak index 6a6df50ae3..3dfbbbf203 100644 --- a/src/interfaces/libpq/win32.mak +++ b/src/interfaces/libpq/win32.mak @@ -111,6 +111,8 @@ CLEAN : -@erase "$(OUTDIR)\libpq.res" -@erase "$(OUTDIR)\$(OUTFILENAME).dll" -@erase "$(OUTDIR)\$(OUTFILENAME)dll.exp" + -@erase "$(OUTDIR)\$(OUTFILENAME).dll.manifest" + -@erase "$(OUTDIR)\*.idb" -@erase pg_config_paths.h" @@ -209,6 +211,10 @@ LINK32_OBJS= \ $(LINK32) @<< $(LINK32_FLAGS) $(LINK32_OBJS) << +# Inclusion of manifest +!IF "$(_NMAKE_VER)" != "6.00.9782.0" + mt -manifest $(OUTDIR)\$(OUTFILENAME).dll.manifest -outputresource:$(OUTDIR)\$(OUTFILENAME).dll;2 +!ENDIF "$(INTDIR)\getaddrinfo.obj" : ..\..\port\getaddrinfo.c $(CPP) @<<