diff options
-rwxr-xr-x | build/linux/pkg-config-wrapper | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/linux/pkg-config-wrapper b/build/linux/pkg-config-wrapper index fa76c2e..d94b997 100755 --- a/build/linux/pkg-config-wrapper +++ b/build/linux/pkg-config-wrapper @@ -11,4 +11,6 @@ rewrite=`dirname $0`/rewrite_dirs.py shift config_path=$root/usr/lib/pkgconfig:$root/usr/share/pkgconfig -PKG_CONFIG_PATH=$config_path pkg-config --define-variable=prefix=/usr "$@" | $rewrite $root +set -e +result=`PKG_CONFIG_PATH=$config_path pkg-config --define-variable=prefix=/usr "$@"` +echo "$result"| $rewrite $root |