Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | #!/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 | |||||
7 | for 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 | ||||
14 | done | ||||
15 | |||||
16 | exec pkgconf "$@" |