You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
750 B
15 lines
750 B
#!/bin/sh
|
|
|
|
PKGCONFDIR=$(dirname $0)
|
|
DEFAULT_PKG_CONFIG_LIBDIR=${PKGCONFDIR}/../../root/usr/lib/pkgconfig
|
|
DEFAULT_PKG_CONFIG_SYSROOT_DIR=${PKGCONFDIR}/../../root
|
|
DEFAULT_PKG_CONFIG_SYSTEM_INCLUDE_PATH=${PKGCONFDIR}/../../root/usr/include
|
|
DEFAULT_PKG_CONFIG_SYSTEM_LIBRARY_PATH=${PKGCONFDIR}/../../root/usr/lib
|
|
|
|
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}} \
|
|
PKG_CONFIG_SYSTEM_INCLUDE_PATH=${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-${DEFAULT_PKG_CONFIG_SYSTEM_INCLUDE_PATH}} \
|
|
PKG_CONFIG_SYSTEM_LIBRARY_PATH=${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-${DEFAULT_PKG_CONFIG_SYSTEM_LIBRARY_PATH}} \
|
|
exec ${PKGCONFDIR}/pkgconf --keep-system-libs "$@"
|
|
|