summaryrefslogtreecommitdiffstats
path: root/scripts/pkg-config-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pkg-config-wrapper')
-rwxr-xr-xscripts/pkg-config-wrapper19
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*)