diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-07-29 01:06:44 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-08-06 23:26:29 +0200 |
commit | 5bc73a7b721bd51f00834ba01f89de71c3c0382c (patch) | |
tree | 821390c6cbcd848ae5620bf55e9191ed2f4338a2 /scripts/pkg-config-wrapper | |
parent | caf3f478eaf04837251d01a6c7ff3b91fb6a384c (diff) | |
download | ptxdist-5bc73a7b721bd51f00834ba01f89de71c3c0382c.tar.gz ptxdist-5bc73a7b721bd51f00834ba01f89de71c3c0382c.tar.xz |
[pkg-config-wrapper] use PTXDIST_CROSS_ENV_PKG_CONFIG generated from ptxd_make_00-init
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/pkg-config-wrapper')
-rwxr-xr-x | scripts/pkg-config-wrapper | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts/pkg-config-wrapper b/scripts/pkg-config-wrapper index b51c8e890..8f2dbc51a 100755 --- a/scripts/pkg-config-wrapper +++ b/scripts/pkg-config-wrapper @@ -22,29 +22,10 @@ EOF exit 1 fi -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 found_var -if [ -n "${PKG_CONFIG_PATH}" ]; then - orig_ifs="${IFS}" - IFS=':' - pkg_config_path_array=( ${PKG_CONFIG_PATH} ) - IFS="${orig_ifs}" - unset orig_ifs - - PKG_CONFIG_PATH="${SYSROOT}${pkg_config_path_array[0]}" - unset pkg_config_path_array[0] - - for p in "${pkg_config_path_array[@]}"; do - PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${SYSROOT}${p}" - done - - unset p - unset pkg_config_path_array -fi - for ((i = 1; i <= ${#}; i++)); do case "${!i}" in --variable*) |