Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mk: Fix REQUIRES generation for non-standard paths.
The GCC packages were incorrectly generating REQUIRES for GCC runtime libraries found under /usr/lib/amd64, because the REQUIRES handling did not account for the paths that GCC uses to store its runtime libraries. Instead of only looking in ${DESTDIR}${PREFIX}/lib, look under ${DESTDIR} first for all RPATH entries used by the target object. GCC now correctly does not list any REQUIRES for its own libraries.
- Loading branch information