mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
1f11e0a0db
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
14 lines
487 B
Bash
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 "$@"
|