Fix imlib2 inclusion conditions.
This commit is contained in:
parent
72aba3d850
commit
ddfdbce073
@ -9,7 +9,7 @@
|
||||
%global _hardlink /usr/sbin/hardlink
|
||||
%endif
|
||||
|
||||
%if ! 0%{?rhel} <= 8
|
||||
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9
|
||||
%global _with_imlib2 --with-imlib2
|
||||
%endif
|
||||
|
||||
@ -44,7 +44,7 @@ BuildRequires: gcc
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXfixes-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
%if ! 0%{?rhel} <= 8
|
||||
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9
|
||||
BuildRequires: imlib2-devel
|
||||
%endif
|
||||
BuildRequires: openssl
|
||||
|
Loading…
Reference in New Issue
Block a user