blob: 695f349566de77ebe1e6bdd39928d72b08dd8c70 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001#!/bin/sh
2# pkgconf wrapper to deal with pkg-config/pkgconf compatibility issues
3#
4# Copyright (C) 2015 Christopher Larson <chris_larson@mentor.com>
5# License: MIT (see COPYING.MIT at the root of the repository for terms)
6
7for arg; do
8 case "$arg" in
9 --variable|--variable=*)
10 # pkg-config doesn't sysroot-prefix user variables
11 unset PKG_CONFIG_SYSROOT_DIR
12 ;;
13 esac
14done
15
16exec pkgconf "$@"