diff options
Diffstat (limited to 'development/pkgconf/platform-pkg-config.in')
-rw-r--r-- | development/pkgconf/platform-pkg-config.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/development/pkgconf/platform-pkg-config.in b/development/pkgconf/platform-pkg-config.in new file mode 100644 index 0000000000..1cc5917d5e --- /dev/null +++ b/development/pkgconf/platform-pkg-config.in @@ -0,0 +1,14 @@ +#!/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 "$@" |