Skip to content

Commit 09e98a3

Browse files
committed
Teach the makefile used to build stand-alone libpq on Windows that libpq
needs win32setlocale.c now. The cygwin and MSVC build scripts were changed earlier, but this was neglected. This should fix bug report #6203 by Steve.
1 parent 76df369 commit 09e98a3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/interfaces/libpq/win32.mak

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ CLEAN :
8787
-@erase "$(INTDIR)\inet_aton.obj"
8888
-@erase "$(INTDIR)\crypt.obj"
8989
-@erase "$(INTDIR)\noblock.obj"
90-
-@erase "$(INTDIR)\chklocale.obj"
91-
-@erase "$(INTDIR)\inet_net_ntop.obj"
90+
-@erase "$(INTDIR)\chklocale.obj"
91+
-@erase "$(INTDIR)\inet_net_ntop.obj"
9292
-@erase "$(INTDIR)\md5.obj"
9393
-@erase "$(INTDIR)\ip.obj"
9494
-@erase "$(INTDIR)\fe-auth.obj"
@@ -114,6 +114,7 @@ CLEAN :
114114
-@erase "$(INTDIR)\pgsleep.obj"
115115
-@erase "$(INTDIR)\open.obj"
116116
-@erase "$(INTDIR)\win32error.obj"
117+
-@erase "$(INTDIR)\win32setlocale.obj"
117118
-@erase "$(OUTDIR)\$(OUTFILENAME).lib"
118119
-@erase "$(OUTDIR)\$(OUTFILENAME)dll.lib"
119120
-@erase "$(OUTDIR)\libpq.res"
@@ -159,6 +160,7 @@ LIB32_OBJS= \
159160
"$(INTDIR)\pgsleep.obj" \
160161
"$(INTDIR)\open.obj" \
161162
"$(INTDIR)\win32error.obj" \
163+
"$(INTDIR)\win32setlocale.obj" \
162164
"$(INTDIR)\pthread-win32.obj"
163165

164166

@@ -330,6 +332,11 @@ LINK32_OBJS= \
330332
$(CPP_PROJ) /I"." ..\..\port\win32error.c
331333
<<
332334

335+
"$(INTDIR)\win32setlocale.obj" : ..\..\port\win32setlocale.c
336+
$(CPP) @<<
337+
$(CPP_PROJ) /I"." ..\..\port\win32setlocale.c
338+
<<
339+
333340
.c{$(CPP_OBJS)}.obj:
334341
$(CPP) $(CPP_PROJ) $<
335342

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy