Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62698: build: fix spurious rebuilds due to geo .dylib r=jordanlewis a=jordanlewis Previously, the .ALWAYS_REBUILD target for the libgeos .dylib caused some bad behavior. Since the .dylib would be replaced on every invocation to `make`, and since the .dylib was also included in the list of C_LIBS which are dependencies to nearly every Makefile binary target, it meant that the Makefile would cause spurious rebuilds of binary targets every other build. This was particularly obvious when running the `make testlogic` variants, which usually permit editing the testdata text files without causing a rebuild to bin/logictest. Before this patch, the bin/logictest binary would be rebuilt every other invocation to `make`, even if no source files changed. The fix is to move the .dylib files to their own dependency list, and mark them as order-only dependencies in the places that need them. This is okay because, as dynamic libraries, changes to them don't need to force changes to the binaries that depend on them. Release note: None Co-authored-by: Jordan Lewis <[email protected]>
- Loading branch information