slackbuilds_ponce/development/pkgconf/platform-pkg-config.in
Hunter Sezen 1f11e0a0db development/pkgconf: Add compatibility.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2019-02-28 22:58:53 +07:00

14 lines
487 B
Bash

#!/bin/sh
# Simple wrapper to tell pkgconf to behave as a platform-specific version of pkg-config
# Platform: @TARGET_PLATFORM@
PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-@PKGCONF_LIBDIRS@}"
PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-@PKGCONF_SYSLIBDIR@}"
PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-@PKGCONF_SYSINCDIR@}"
export PKG_CONFIG_LIBDIR
export PKG_CONFIG_SYSTEM_LIBRARY_PATH
export PKG_CONFIG_SYSTEM_INCLUDE_PATH
exec pkgconf "$@"