mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-28 11:06:25 +00:00
enable osmesa for non-dri builds
This commit is contained in:
parent
5f0f63e8cd
commit
eb5c34bf28
1 changed files with 8 additions and 4 deletions
12
mesa.spec
12
mesa.spec
|
@ -31,11 +31,15 @@
|
||||||
%define with_dri 0
|
%define with_dri 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# FIXME: We dont build libOSMesa, because it seems next to impossible to get
|
# FIXME: libOSMesa does not build when DRI is enabled for some reason. It
|
||||||
# the totally broken Mesa buildsystem to build both DRI drivers and OSMesa in
|
# seems next to impossible using the totally broken Mesa buildsystem to build
|
||||||
# a single build. If someone feels like fixing all this to build on all 7
|
# both DRI drivers and OSMesa in a single build. If someone feels like fixing
|
||||||
# architectures, be my guest.
|
# all this to build on all 7 architectures, be my guest.
|
||||||
|
%if %{with_dri}
|
||||||
%define with_OSMesa 0
|
%define with_OSMesa 0
|
||||||
|
%else
|
||||||
|
%define with_OSMesa 1
|
||||||
|
%endif
|
||||||
|
|
||||||
#-- END DRI Build Configuration ------------------------------------------
|
#-- END DRI Build Configuration ------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue