Browse Source

- pkgconf: better readability in pkgconf wrapper script

master
vanhofen 6 years ago
parent
commit
154106ff50
  1. 6
      patches/pkgconf/pkgconf-pkg-config

6
patches/pkgconf/pkgconf-pkg-config

@ -1,6 +1,8 @@
#!/bin/sh
set -x
PKGCONFDIR=$(dirname $0)
DEFAULT_PKG_CONFIG_LIBDIR=${PKGCONFDIR}/../../root/lib/pkgconfig
DEFAULT_PKG_CONFIG_SYSROOT_DIR=${PKGCONFDIR}/../../root
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 "$@"
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 "$@"

Loading…
Cancel
Save