mesa: fix build on EL7 with later libdrm
This commit is contained in:
parent
bd79bc7346
commit
5145f07dda
@ -291,9 +291,11 @@ Mesa shared glapi
|
|||||||
sed -i 's/^default_driver.*$/default_driver="dri"/' configure.ac
|
sed -i 's/^default_driver.*$/default_driver="dri"/' configure.ac
|
||||||
|
|
||||||
# need to use libdrm_nouveau2 on F17
|
# need to use libdrm_nouveau2 on F17
|
||||||
|
%if !0%{?rhel}
|
||||||
%if 0%{?fedora} < 18
|
%if 0%{?fedora} < 18
|
||||||
sed -i 's/\<libdrm_nouveau\>/&2/' configure.ac
|
sed -i 's/\<libdrm_nouveau\>/&2/' configure.ac
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user