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

Commit0ade842

Browse files
committed
Fix symlink for errcodes.h so it works in VPATH builds from tarballs.
backend/Makefile was treating errcodes.h as a header always generatedduring build, but actually it's a header provided in tarballs. Hence,must use the absolute-symlink recipe, not the relative-symlink one.Per bug #6072 from Hartmut Raschick.
1 parentaddf11f commit0ade842

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ $(top_builddir)/src/include/catalog/schemapg.h: catalog/schemapg.h
174174
$(LN_S)"$$prereqdir/$(notdir $<)".
175175

176176
$(top_builddir)/src/include/utils/errcodes.h: utils/errcodes.h
177-
cd'$(dir $@)'&& rm -f$(notdir$@)&&\
178-
$(LN_S)"../../../$(subdir)/utils/errcodes.h".
177+
prereqdir=`cd'$(dir $<)'>/dev/null&& pwd`&&\
178+
cd'$(dir $@)'&& rm -f$(notdir$@)&&\
179+
$(LN_S)"$$prereqdir/$(notdir $<)".
179180

180181
$(top_builddir)/src/include/utils/fmgroids.h: utils/fmgroids.h
181182
prereqdir=`cd'$(dir $<)'>/dev/null&& pwd`&&\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp