Only use _with_imlib2 macro if defined.

This commit is contained in:
Bojan Smojver 2022-01-11 22:29:02 +11:00
parent ddfdbce073
commit 82678f4764

View File

@ -113,7 +113,7 @@ echo '#!/bin/bash -l
%build
CFLAGS="$RPM_OPT_FLAGS -Wno-error=deprecated-declarations" \
%configure --enable-fuse --enable-pixman --enable-painter --enable-vsock \
--enable-ipv6 --with-socketdir=%{_rundir}/%{name} %{_with_imlib2}
--enable-ipv6 --with-socketdir=%{_rundir}/%{name} %{?_with_imlib2}
%make_build
# SELinux policy module