Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4553b96

Browse files
committed
Add missing dependency of pg_dumpall to WIN32RES.
When cross-building to windows, or building with mingw on windows, the buildcould fail with x86_64-w64-mingw32-gcc: error: win32ver.o: No such file or directorbecause pg_dumpall didn't depend on WIN32RES, but it's recipe referencesit. The build nevertheless succeeded most of the time, due topg_dump/pg_restore having the required dependency, causing win32ver.o to bebuilt.Reported-By: Thomas Munro <thomas.munro@gmail.com>Discussion:https://postgr.es/m/CA+hUKGJeekpUPWW6yCVdf9=oBAcCp86RrBivo4Y4cwazAzGPng@mail.gmail.comBackpatch: 10-, omission present on all live branches
1 parent199ca68 commit4553b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pg_dump: pg_dump.o common.o pg_dump_sort.o $(OBJS) | submake-libpq submake-libpg
3131
pg_restore: pg_restore.o$(OBJS) | submake-libpq submake-libpgport submake-libpgfeutils
3232
$(CC)$(CFLAGS) pg_restore.o$(OBJS)$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@$(X)
3333

34-
pg_dumpall: pg_dumpall.o dumputils.o | submake-libpq submake-libpgport submake-libpgfeutils
34+
pg_dumpall: pg_dumpall.o dumputils.o$(WIN32RES)| submake-libpq submake-libpgport submake-libpgfeutils
3535
$(CC)$(CFLAGS) pg_dumpall.o dumputils.o$(WIN32RES)$(LDFLAGS)$(LDFLAGS_EX)$(LIBS) -o$@$(X)
3636

3737
install: all installdirs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp