pkgconf/pkg-config.in

8 lines
219 B
Plaintext
Raw Normal View History

2020-10-15 02:35:57 +00:00
#!/bin/sh
# Multilib safe wrapper for pkg-config to call correct platform-specific version of pkg-config
2020-10-15 11:56:38 +00:00
TARGET_PLATFORM=$(rpm --eval '%{_target_platform}')
2020-10-15 02:35:57 +00:00
2020-10-15 11:56:38 +00:00
exec "@PKGCONF_BINDIR@/${TARGET_PLATFORM}-pkg-config" "$@"