Commit graph

10 commits

Author SHA1 Message Date
jperkin
5d44125c9b Cache the results of getline and system() calls. Testing with
x11/kde-workspace4 shows a 25x performance improvement, reducing the
runtime of _check-shlibs from 7m55s to just 18s.
2014-10-03 19:12:16 +00:00
jperkin
d72afedf87 Fix the readelf environment variable. 2014-10-01 08:59:33 +00:00
jperkin
47e3447cf5 Set nrpath correctly in the case where there is no RPATH at all. Fixes
issues seen on NetBSD.
2014-09-07 21:53:41 +00:00
jperkin
800bdaa968 Ensure we iterate over the RPATH in search order, rather than relying on
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.
2014-09-06 16:57:51 +00:00
joerg
71bda04a66 Some Linux systems now use DT_RUNPATH, so match it here as well. 2013-10-25 14:11:13 +00:00
obache
746a40d55d Revert last change.
Honor dicision of the copyright holder.
2012-06-16 11:58:07 +00:00
obache
36a4eb2941 allow DSO in not only non-full dependency packages but also indirect full dependency. 2012-06-15 14:46:53 +00:00
joerg
40c00aad94 Deal with cases where the first dependency of a package is a build
dependency, but a full dependency follows later.
2010-02-02 23:35:36 +00:00
joerg
8b88cd8fca Add actual license and a small description of what this is doing. 2007-08-21 21:08:18 +00:00
joerg
80b8a5c96a Add a cross-compile and DESTDIR safe alternative to ldd for
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
2007-08-20 11:04:02 +00:00