mirror of
https://github.com/curl/curl.git
synced 2026-07-26 06:57:16 +03:00
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
This commit is contained in:
parent
a39ecb3fac
commit
faeec840f3
2 changed files with 2 additions and 2 deletions
|
|
@ -67,4 +67,4 @@ CS_1 =
|
|||
CS_ = $(CS_0)
|
||||
|
||||
checksrc:
|
||||
$(CHECKSRC)(@PERL@ $(top_srcdir)/lib/checksrc.pl $(srcdir)/*.c)
|
||||
$(CHECKSRC)(@PERL@ $(top_srcdir)/lib/checksrc.pl -D$(srcdir) $(srcdir)/*.c)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue