diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-21 13:15:18 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-12-21 13:52:57 (EST) |
commit | cd9dec35a888a9c795bcc31af03ba9089724afd8 (patch) | |
tree | a17981518a32e97f7e6caba4105ecda82425c60d /pkgconf-wrapper.sh | |
parent | d0700c80aae39fcab8b151a17a11798d580649b8 (diff) |
pkgconf: Install cross-building wrapper
Diffstat (limited to 'pkgconf-wrapper.sh')
-rw-r--r-- | pkgconf-wrapper.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgconf-wrapper.sh b/pkgconf-wrapper.sh new file mode 100644 index 0000000..5cd1640 --- /dev/null +++ b/pkgconf-wrapper.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ x"${OPK_HOST_ARCH}" != x'' ]; then + export PKG_CONFIG_LIBDIR="/usr/lib/${OPK_HOST_ARCH}/pkgconfig" + export PKG_CONFIG_PATH="/usr/lib/${OPK_HOST_ARCH}/pkgconfig" +fi + +exec /usr/libexec/pkgconf "${@}" |