diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-08-01 00:30:19 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-08-01 10:47:55 +0200 |
commit | faeec840f37715c942dc9623b422284835c9218f (patch) | |
tree | 9463ad3669dfe0ff6677ccd19a1c52f4474cb108 /tests/libtest | |
parent | a39ecb3fac78750621536ed3ff4e65fd19064277 (diff) | |
download | curl-faeec840f37715c942dc9623b422284835c9218f.tar.gz |
checksrc: invoke script with -D to find .checksrc proper
Without the -D command line option, checksrc.pl won't know which
directory to load the ".checksrc" file from when building out of the
source tree.
Reported-by: Marcel Raad
Fixes #5715
Closes #5755
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am index e87a36306..07fdd9b7b 100644 --- a/tests/libtest/Makefile.am +++ b/tests/libtest/Makefile.am @@ -137,7 +137,7 @@ CS_1 = CS_ = $(CS_0) checksrc: - $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.[ch] + $(CHECKSRC)@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(srcdir) $(srcdir)/*.[ch] if CURLDEBUG # for debug builds, we scan the sources on all regular make invokes |