platform-pkg-config.in 487 B

123456789101112131415
  1. #!/bin/sh
  2. # Simple wrapper to tell pkgconf to behave as a platform-specific version of pkg-config
  3. # Platform: @TARGET_PLATFORM@
  4. PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-@PKGCONF_LIBDIRS@}"
  5. PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-@PKGCONF_SYSLIBDIR@}"
  6. PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-@PKGCONF_SYSINCDIR@}"
  7. export PKG_CONFIG_LIBDIR
  8. export PKG_CONFIG_SYSTEM_LIBRARY_PATH
  9. export PKG_CONFIG_SYSTEM_INCLUDE_PATH
  10. exec pkgconf "$@"