mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix pg_dump linking on Win32 with MSVS win32.mak:
The module link is insufficient.:-( ---- Sorry, japanese message change to xxx --- link.exe @C:\DOCUME~1\hi-saito\LOCALS~1\Temp\nmk03360. common.obj : error LNK2001: xxxxxx "_pg_qsort" xxxxxx pg_dump_sort.obj : error LNK2001: xxxxx "_pg_qsort" xxxxx .\Release\pg_dump.exe : fatal error LNK1120: xxxxxxx NMAKE : fatal error U1077: 'link.exe' : xxxxx '0x460' Stop. Hiroshi Saito
This commit is contained in:
parent
1e22e60505
commit
50a073916c
@ -59,6 +59,7 @@ CLEAN :
|
||||
-@erase "$(INTDIR)\pgstrcasecmp.obj"
|
||||
-@erase "$(INTDIR)\sprompt.obj"
|
||||
-@erase "$(INTDIR)\snprintf.obj"
|
||||
-@erase "$(INTDIR)\qsort.obj"
|
||||
# -@erase "$(INTDIR)\pg_dump.pch"
|
||||
-@erase "$(OUTDIR)\pg_dump.obj"
|
||||
-@erase "$(OUTDIR)\pg_dump.exe"
|
||||
@ -97,7 +98,8 @@ LINK32_OBJS= \
|
||||
"$(INTDIR)\strlcpy.obj" \
|
||||
"$(INTDIR)\pgstrcasecmp.obj" \
|
||||
"$(INTDIR)\sprompt.obj" \
|
||||
"$(INTDIR)\snprintf.obj"
|
||||
"$(INTDIR)\snprintf.obj" \
|
||||
"$(INTDIR)\qsort.obj"
|
||||
|
||||
LINK32_OBJS_DMP= \
|
||||
"$(INTDIR)\common.obj" \
|
||||
@ -188,6 +190,11 @@ LINK32_OBJS = $(LINK32_OBJS) "..\..\interfaces\libpq\Release\libpqdll.lib"
|
||||
$(CPP_PROJ) ..\..\port\snprintf.c
|
||||
<<
|
||||
|
||||
"$(INTDIR)\qsort.obj" : "$(INTDIR)" ..\..\port\qsort.c
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) ..\..\port\qsort.c
|
||||
<<
|
||||
|
||||
..\..\backend\parser\parse.h : ..\..\backend\parser\gram.y
|
||||
$(YACC) -y -d ..\..\backend\parser\gram.y
|
||||
$(MV) ..\..\backend\parser\y.tab.h ..\..\backend\parser\parse.h
|
||||
|
Loading…
Reference in New Issue
Block a user