Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 21a00dc

Browse files
committed
Generate and include manifest in standalone libpq build on Windows.
Hiroshi Saito
1 parent 77015b5 commit 21a00dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/interfaces/libpq/win32.mak

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ CLEAN :
111111
-@erase "$(OUTDIR)\libpq.res"
112112
-@erase "$(OUTDIR)\$(OUTFILENAME).dll"
113113
-@erase "$(OUTDIR)\$(OUTFILENAME)dll.exp"
114+
-@erase "$(OUTDIR)\$(OUTFILENAME).dll.manifest"
115+
-@erase "$(OUTDIR)\*.idb"
114116
-@erase pg_config_paths.h"
115117

116118

@@ -209,6 +211,10 @@ LINK32_OBJS= \
209211
$(LINK32) @<<
210212
$(LINK32_FLAGS) $(LINK32_OBJS)
211213
<<
214+
# Inclusion of manifest
215+
!IF "$(_NMAKE_VER)" != "6.00.9782.0"
216+
mt -manifest $(OUTDIR)\$(OUTFILENAME).dll.manifest -outputresource:$(OUTDIR)\$(OUTFILENAME).dll;2
217+
!ENDIF
212218

213219
"$(INTDIR)\getaddrinfo.obj" : ..\..\port\getaddrinfo.c
214220
$(CPP) @<<

0 commit comments

Comments
 (0)