diff options
author | jperkin <jperkin> | 2016-03-10 15:56:24 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-03-10 15:56:24 +0000 |
commit | 6bc1e21ec9122cf239dea9c0e18952ee7598ceda (patch) | |
tree | cdcc68ef8d537356487c9ccb750947eb32168f45 | |
parent | fb573bafc3c6a47df00345accc822b00ddda859e (diff) | |
download | pkgsrc-6bc1e21ec9122cf239dea9c0e18952ee7598ceda.tar.gz |
Reset 'found' variable for each library check. Previously, all subsequent
tests would pass after the first successful check. Exposes library issues
in a number of packages.
-rw-r--r-- | mk/check/check-shlibs-elf.awk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/check/check-shlibs-elf.awk b/mk/check/check-shlibs-elf.awk index ad6d2f96829..ec3eaee6db4 100644 --- a/mk/check/check-shlibs-elf.awk +++ b/mk/check/check-shlibs-elf.awk @@ -1,4 +1,4 @@ -# $NetBSD: check-shlibs-elf.awk,v 1.12 2015/11/16 17:53:29 jperkin Exp $ +# $NetBSD: check-shlibs-elf.awk,v 1.13 2016/03/10 15:56:24 jperkin Exp $ # # Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. # All rights reserved. @@ -135,6 +135,7 @@ function checkshlib(DSO, needed, rpath, found, dso_rpath, got_rpath, nrpath) { } } for (lib in needed) { + found = 0 for (p = 1; p <= nrpath; p++) { libfile = cross_destdir rpath[p] "/" lib if (!(libfile in libcache)) { |