mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	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.
This commit is contained in:
		@@ -114,6 +114,7 @@ CLEAN :
 | 
				
			|||||||
	-@erase "$(INTDIR)\pgsleep.obj"
 | 
						-@erase "$(INTDIR)\pgsleep.obj"
 | 
				
			||||||
	-@erase "$(INTDIR)\open.obj"
 | 
						-@erase "$(INTDIR)\open.obj"
 | 
				
			||||||
	-@erase "$(INTDIR)\win32error.obj"
 | 
						-@erase "$(INTDIR)\win32error.obj"
 | 
				
			||||||
 | 
						-@erase "$(INTDIR)\win32setlocale.obj"
 | 
				
			||||||
	-@erase "$(OUTDIR)\$(OUTFILENAME).lib"
 | 
						-@erase "$(OUTDIR)\$(OUTFILENAME).lib"
 | 
				
			||||||
	-@erase "$(OUTDIR)\$(OUTFILENAME)dll.lib"
 | 
						-@erase "$(OUTDIR)\$(OUTFILENAME)dll.lib"
 | 
				
			||||||
	-@erase "$(OUTDIR)\libpq.res"
 | 
						-@erase "$(OUTDIR)\libpq.res"
 | 
				
			||||||
@@ -159,6 +160,7 @@ LIB32_OBJS= \
 | 
				
			|||||||
	"$(INTDIR)\pgsleep.obj" \
 | 
						"$(INTDIR)\pgsleep.obj" \
 | 
				
			||||||
	"$(INTDIR)\open.obj" \
 | 
						"$(INTDIR)\open.obj" \
 | 
				
			||||||
	"$(INTDIR)\win32error.obj" \
 | 
						"$(INTDIR)\win32error.obj" \
 | 
				
			||||||
 | 
						"$(INTDIR)\win32setlocale.obj" \
 | 
				
			||||||
	"$(INTDIR)\pthread-win32.obj"
 | 
						"$(INTDIR)\pthread-win32.obj"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -330,6 +332,11 @@ LINK32_OBJS= \
 | 
				
			|||||||
	$(CPP_PROJ) /I"." ..\..\port\win32error.c
 | 
						$(CPP_PROJ) /I"." ..\..\port\win32error.c
 | 
				
			||||||
<<
 | 
					<<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					"$(INTDIR)\win32setlocale.obj" : ..\..\port\win32setlocale.c
 | 
				
			||||||
 | 
						$(CPP) @<<
 | 
				
			||||||
 | 
						$(CPP_PROJ) /I"." ..\..\port\win32setlocale.c
 | 
				
			||||||
 | 
					<<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.c{$(CPP_OBJS)}.obj:
 | 
					.c{$(CPP_OBJS)}.obj:
 | 
				
			||||||
	$(CPP) $(CPP_PROJ) $<
 | 
						$(CPP) $(CPP_PROJ) $<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user