Use internal target platform definition for pkg-config wrapper
This commit is contained in:
parent
9a091fe4b9
commit
5dea89a881
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# Multilib safe wrapper for pkg-config to call correct platform-specific version of pkg-config
|
# Multilib safe wrapper for pkg-config to call correct platform-specific version of pkg-config
|
||||||
|
|
||||||
TARGET_PLATFORM=$(rpm --eval '%{_target_platform}')
|
## 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" "$@"
|
exec "@PKGCONF_BINDIR@/${TARGET_PLATFORM}-pkg-config" "$@"
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: pkgconf
|
Name: pkgconf
|
||||||
Version: 1.7.3
|
Version: 1.7.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Package compiler and linker metadata toolkit
|
Summary: Package compiler and linker metadata toolkit
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
@ -202,6 +202,9 @@ rm -rf %{buildroot}%{_datadir}/aclocal
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 19 2020 Neal Gompa <ngompa13@gmail.com> - 1.7.3-5
|
||||||
|
- Use internal target platform definition for pkg-config wrapper
|
||||||
|
|
||||||
* Thu Oct 15 2020 Neal Gompa <ngompa13@gmail.com> - 1.7.3-4
|
* Thu Oct 15 2020 Neal Gompa <ngompa13@gmail.com> - 1.7.3-4
|
||||||
- Fix pkg-config wrapper for armv7hl
|
- Fix pkg-config wrapper for armv7hl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user