#!/bin/sh

# Simple wrapper to tell pkgconf to behave as a platform-specific version of pkg-config
# Platform: x86_64-slackware-linux-gnu

PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig}"
PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-/usr/local/lib64:/lib64:/usr/lib64}"
PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-/usr/local/include:/usr/include}"

export PKG_CONFIG_LIBDIR
export PKG_CONFIG_SYSTEM_LIBRARY_PATH
export PKG_CONFIG_SYSTEM_INCLUDE_PATH

exec pkgconf "$@"
