mesa: fix build on EL7 with later libdrm

This commit is contained in:
Dave Airlie 2012-11-05 10:01:28 +00:00
parent bd79bc7346
commit 5145f07dda
1 changed files with 2 additions and 0 deletions

View File

@ -291,9 +291,11 @@ Mesa shared glapi
sed -i 's/^default_driver.*$/default_driver="dri"/' configure.ac
# need to use libdrm_nouveau2 on F17
%if !0%{?rhel}
%if 0%{?fedora} < 18
sed -i 's/\<libdrm_nouveau\>/&2/' configure.ac
%endif
%endif
%build