mirror of
https://git.yoctoproject.org/poky
synced 2026-02-27 03:49:41 +01:00
To maintain the status quo, revert changes to pkgconf wrappers. This helps to keep it compatible with freedesktop.org pkg-config. (From OE-Core rev: 8ee8eb8a15e0e4a652df3fe77805d9cffa02ed22) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 lines
439 B
Bash
Executable File
17 lines
439 B
Bash
Executable File
#!/bin/sh
|
|
# pkgconf wrapper to deal with pkg-config/pkgconf compatibility issues
|
|
#
|
|
# Copyright (C) 2015 Christopher Larson <chris_larson@mentor.com>
|
|
# License: MIT (see COPYING.MIT at the root of the repository for terms)
|
|
|
|
for arg; do
|
|
case "$arg" in
|
|
--variable|--variable=*)
|
|
# pkg-config doesn't sysroot-prefix user variables
|
|
unset PKG_CONFIG_SYSROOT_DIR
|
|
;;
|
|
esac
|
|
done
|
|
|
|
exec pkgconf "$@"
|