diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-10-30 20:51:54 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-10-30 20:51:54 -0400 |
commit | 4642d41545192b4ac7c6034663c09e75fa78561c (patch) | |
tree | 856491dd4e5433ca58d9febd4d3b478efad7502d /wrappers/cross-pkg-config | |
parent | crossdev: disable USE=sanitize during gcc stage1 (diff) | |
download | crossdev-4642d41545192b4ac7c6034663c09e75fa78561c.tar.gz crossdev-4642d41545192b4ac7c6034663c09e75fa78561c.tar.bz2 crossdev-4642d41545192b4ac7c6034663c09e75fa78561c.zip |
cross-pkg-config: avoid bashism
URL: https://bugs.gentoo.org/525068
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers/cross-pkg-config')
-rwxr-xr-x | wrappers/cross-pkg-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/cross-pkg-config b/wrappers/cross-pkg-config index 000d6ad..6b68fa7 100755 --- a/wrappers/cross-pkg-config +++ b/wrappers/cross-pkg-config @@ -82,7 +82,7 @@ unset PKG_CONFIG_ALLOW_SYSTEM_LIBS # : ${ABI:=${DEFAULT_ABI:-default}} var="LIBDIR_${ABI}" -libdir=${!var} +eval libdir=\${${var}} if [ -z "${libdir}" ] ; then # Fall back to probing the compiler. libdir=$(realpath "$(${CC:-${CHOST}-gcc} ${CFLAGS} ${LDFLAGS} -print-file-name=pkgconfig)/..") |