Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makedepend_file.SH - add -DPERL_CORE so we pick up all deps
makedepend_file does not find all deps for our code because in many cases the dependencies are hidden behind a guard clause which checks if PERL_CORE is defined. This is annoying when working on the regex engine as after `make regen` is executed `make` does not notice that files like regnodes.h have been updated. No doubt it is annoying in other contexts too. This adds the -DPERL_CORE so that we pick up these guarded dependencies. With this patch things updating regnodes.h is noticed and regcomp.o, regexec.o and miniperl will be appropriately rebuilt. Thanks to Dagfinn Ilmari Mannsåker for figuring this out.
- Loading branch information