summaryrefslogtreecommitdiff
path: root/mk/check/check-shlibs-elf.awk
AgeCommit message (Collapse)AuthorFilesLines
2017-04-26Only perform the CHECK_WRKREF_EXTRA_DIRS check on the resolved path ratherjperkin1-7/+7
than on all of the rpaths. We can't always exclude the rpath being added, for example when the compiler adds its own behind our back, so this avoids false positives.
2016-03-10Reset 'found' variable for each library check. Previously, all subsequentjperkin1-1/+2
tests would pass after the first successful check. Exposes library issues in a number of packages.
2015-11-16Add support for CHECK_WRKREF_EXTRA_DIRS to check-shlibs. If "extra" isjperkin1-1/+9
listed in CHECK_WRKREF then these directories will added to the checks for rpath references.
2015-08-10Fix typo in local variable name.jperkin1-2/+2
2014-10-03Cache the results of getline and system() calls. Testing withjperkin1-7/+20
x11/kde-workspace4 shows a 25x performance improvement, reducing the runtime of _check-shlibs from 7m55s to just 18s.
2014-10-01Fix the readelf environment variable.jperkin1-2/+2
2014-09-07Set nrpath correctly in the case where there is no RPATH at all. Fixesjperkin1-2/+2
issues seen on NetBSD.
2014-09-06Ensure we iterate over the RPATH in search order, rather than relying onjperkin1-5/+5
awk array iteration which could result in the wrong library being chosen. Fixes issue seen with GCC 4.9 where the libgcc from the main GCC package was found first and caused errors, even though the RPATH correctly had the gcc49-libs version listed first.
2013-10-25Some Linux systems now use DT_RUNPATH, so match it here as well.joerg1-6/+6
2012-06-16Revert last change.obache1-17/+2
Honor dicision of the copyright holder.
2012-06-15allow DSO in not only non-full dependency packages but also indirect full ↵obache1-2/+17
dependency.
2010-02-02Deal with cases where the first dependency of a package is a buildjoerg1-3/+7
dependency, but a full dependency follows later.
2007-08-21Add actual license and a small description of what this is doing.joerg1-0/+40
2007-08-20Add a cross-compile and DESTDIR safe alternative to ldd forjoerg1-0/+112
check-shlibs. This allows more stricter detection (e.g. it checks whether the package links against a build dependency). It also checks whether the rpath contains wrkdir references (like qt3-libs). It depends on readelf and is only available for ELF systems for now. To test it, add USE_CHECK_SHLIBS_ELF to mk.conf. Supported-by: Google SoC 2007