13 lines
927 B
Bash
Executable File
13 lines
927 B
Bash
Executable File
#!/bin/sh
|
|
PKGCONFDIR=$(dirname $0)
|
|
DEFAULT_PKG_CONFIG_LIBDIR=${PKGCONFDIR}/../arm-buildroot-linux-gnueabi/sysroot/usr/lib/pkgconfig:${PKGCONFDIR}/../arm-buildroot-linux-gnueabi/sysroot/usr/share/pkgconfig
|
|
DEFAULT_PKG_CONFIG_SYSROOT_DIR=${PKGCONFDIR}/../arm-buildroot-linux-gnueabi/sysroot
|
|
DEFAULT_PKG_CONFIG_SYSTEM_INCLUDE_PATH=${PKGCONFDIR}/../arm-buildroot-linux-gnueabi/sysroot/usr/include
|
|
DEFAULT_PKG_CONFIG_SYSTEM_LIBRARY_PATH=${PKGCONFDIR}/../arm-buildroot-linux-gnueabi/sysroot/usr/lib
|
|
|
|
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 "$@"
|