diff options
Diffstat (limited to 'libre-testing/pkgconf/platform-pkg-config.in')
-rw-r--r-- | libre-testing/pkgconf/platform-pkg-config.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libre-testing/pkgconf/platform-pkg-config.in b/libre-testing/pkgconf/platform-pkg-config.in new file mode 100644 index 000000000..4a6f2b575 --- /dev/null +++ b/libre-testing/pkgconf/platform-pkg-config.in @@ -0,0 +1,11 @@ +#!/bin/sh + +# Simple wrapper to tell pkgconf to behave as a platform-specific version of pkg-config +# Platform: @TARGET_PLATFORM@ + +: ${PKG_CONFIG_LIBDIR=@PKGCONF_LIBDIRS@} +: ${PKG_CONFIG_SYSTEM_LIBRARY_PATH=@PKGCONF_SYSLIBDIR@} +: ${PKG_CONFIG_SYSTEM_INCLUDE_PATH=@PKGCONF_SYSINCDIR@} +export PKG_CONFIG_LIBDIR PKG_CONFIG_SYSTEM_LIBRARY_PATH PKG_CONFIG_SYSTEM_INCLUDE_PATH + +exec pkgconf "$@" |