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

Commit67a4120

Browse files
committed
Make ECPG test programs depend on "ecpg$(X)", not "ecpg".
Cygwin builds require this of dependencies pertaining to pattern rules.On Cygwin, stat("foo") in the absence of a file with that exact name canlocate foo.exe. While GNU make uses stat() for dependencies of ordinaryrules, it uses readdir() to assess dependencies of pattern rules.Therefore, a pattern rule dependency should match any underlying filename exactly. Back-patch to 9.4, where the dependency was introduced.
1 parent8463195 commit67a4120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/ecpg/test/Makefile.regress

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ override LIBS := -lecpg -lpgtypes $(filter -l%, $(libpq)) $(LIBS) $(PTHREAD_LIBS
1212
ECPG = ../../preproc/ecpg --regression -I$(srcdir)/../../include -I$(srcdir)
1313

1414
# Files that most or all ecpg preprocessor test outputs depend on
15-
ECPG_TEST_DEPENDENCIES = ../../preproc/ecpg \
15+
ECPG_TEST_DEPENDENCIES = ../../preproc/ecpg$(X) \
1616
$(srcdir)/../regression.h \
1717
$(srcdir)/../../include/sqlca.h \
1818
$(srcdir)/../../include/sqlda.h \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp