15 lines
487 B
Bash
15 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 "$@"
|