workaround el7 freetype bug #1651788

epel9
Rex Dieter 6 years ago
parent ef99e9ceee
commit a7010111db

@ -172,6 +172,13 @@ sed -i.rpath -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
%build
## hopefully, temporary workaround for freetype bug,
## https://bugzilla.redhat.com/show_bug.cgi?id=1651788
%if 0%{?rhel} == 7
CFLAGS="$RPM_OPT_FLAGS -DFT_ENCODING_PRC=FT_ENCODING_GB2312"
%endif
%configure --enable-shared --disable-static \
--docdir=%{_pkgdocdir} \
--with-lcms2 \

Loading…
Cancel
Save