summaryrefslogtreecommitdiff
path: root/mk/check/check-shlibs-elf.awk
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-03-10 15:56:24 +0000
committerjperkin <jperkin>2016-03-10 15:56:24 +0000
commit98ed6098ef59b49334ac4f1ab809c72f96abb6c4 (patch)
treecdcc68ef8d537356487c9ccb750947eb32168f45 /mk/check/check-shlibs-elf.awk
parent40f5fd72015610b451ac78c8b2783240aa9ab8ba (diff)
downloadpkgsrc-98ed6098ef59b49334ac4f1ab809c72f96abb6c4.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.
Diffstat (limited to 'mk/check/check-shlibs-elf.awk')
-rw-r--r--mk/check/check-shlibs-elf.awk3
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)) {