8 lines
352 B
8 lines
352 B
#!/bin/sh
|
|
PKGCONFDIR=$(dirname $0)
|
|
DEFAULT_PKG_CONFIG_LIBDIR=${PKGCONFDIR}/../../root/lib/pkgconfig
|
|
DEFAULT_PKG_CONFIG_SYSROOT_DIR=${PKGCONFDIR}/../../root
|
|
set -x
|
|
PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-${DEFAULT_PKG_CONFIG_LIBDIR}} \
|
|
PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:-${DEFAULT_PKG_CONFIG_SYSROOT_DIR}} \
|
|
exec ${PKGCONFDIR}/pkgconf "$@"
|
|
|