diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-01-03 13:28:08 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-01-03 13:28:08 +0000 |
commit | e912bfb68acd96c1e741cea5e6006153608e9392 (patch) | |
tree | df0cfac0a9d821612a03d316eec5f5b92339ec32 /scripts/pkg-config-wrapper | |
parent | b9e5c5b04fc19c29303a9c67773118804551ab47 (diff) | |
download | ptxdist-e912bfb68acd96c1e741cea5e6006153608e9392.tar.gz ptxdist-e912bfb68acd96c1e741cea5e6006153608e9392.tar.xz |
* pkg-config-wrapper:
added propper quoting
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9359 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/pkg-config-wrapper')
-rwxr-xr-x | scripts/pkg-config-wrapper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pkg-config-wrapper b/scripts/pkg-config-wrapper index 1f9a6bfd0..90420ed09 100755 --- a/scripts/pkg-config-wrapper +++ b/scripts/pkg-config-wrapper @@ -22,7 +22,7 @@ if test -z "${SYSROOT}"; then exit 1 fi -export PKG_CONFIG_LIBDIR=${SYSROOT}/lib/pkgconfig:${SYSROOT}/usr/lib/pkgconfig +export PKG_CONFIG_LIBDIR="${SYSROOT}/lib/pkgconfig:${SYSROOT}/usr/lib/pkgconfig" export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 unset PKG_CONFIG_PATH @@ -44,7 +44,7 @@ if ${found_var}; then # if someone asks for a variable, if it looks like a path (starting with /) # prefix it with sysroot # - ${PKG_CONFIG} "${@}" | + "${PKG_CONFIG}" "${@}" | sed -e "s~^/~${SYSROOT}/~" else # |