Blame SOURCES/pkg-config.in

822ad8
#!/bin/sh
822ad8
822ad8
# Multilib safe wrapper for pkg-config to call correct platform-specific version of pkg-config
822ad8
822ad8
## Vendored definition of %_target_platform from redhat-rpm-config to avoid depending on it
822ad8
TARGET_PLATFORM=$(rpm --eval '%{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu}')
822ad8
822ad8
exec "@PKGCONF_BINDIR@/${TARGET_PLATFORM}-pkg-config" "$@"