836b38b59d
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/pkgconf.git#5dea89a881102185fe291a7a4902a10caa5b9a5e
9 lines
339 B
Bash
9 lines
339 B
Bash
#!/bin/sh
|
|
|
|
# Multilib safe wrapper for pkg-config to call correct platform-specific version of pkg-config
|
|
|
|
## Vendored definition of %_target_platform from redhat-rpm-config to avoid depending on it
|
|
TARGET_PLATFORM=$(rpm --eval '%{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu}')
|
|
|
|
exec "@PKGCONF_BINDIR@/${TARGET_PLATFORM}-pkg-config" "$@"
|