diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-07 21:53:41 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-07 21:53:41 +0000 |
commit | ef50fe93bb3827ec1df019027be917458572a2cc (patch) | |
tree | 30f381d8bccce1d7c7159027ba12b1e199e7bad6 /mk | |
parent | 7abc2fa8a0cd4493e780eef294a2456152fd2de2 (diff) | |
download | pkgsrc-ef50fe93bb3827ec1df019027be917458572a2cc.tar.gz |
Set nrpath correctly in the case where there is no RPATH at all. Fixes
issues seen on NetBSD.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-shlibs-elf.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/check/check-shlibs-elf.awk b/mk/check/check-shlibs-elf.awk index ed9db636b73..b0e7252bb5b 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.7 2014/09/06 16:57:51 jperkin Exp $ +# $NetBSD: check-shlibs-elf.awk,v 1.8 2014/09/07 21:53:41 jperkin Exp $ # # Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. # All rights reserved. @@ -114,7 +114,7 @@ function checkshlib(DSO, needed, rpath, found, dso_rath, got_rpath, nrpath) { } } if (!got_rpath) - split(system_rpath, rpath, ":") + nrpath = split(system_rpath, rpath, ":") close(cmd) for (p in rpath) { if (rpath[p] == wrkdir || |