mirror of https://github.com/kivy/kivy.git
Add new "canonical" path for binary Mali driver (#6054)
* Add new "canonical" path for binary Mali driver This improves detection on "standard" setups of the Mali driver for platforms such as the Odroid XU4. * Add another search location for Mali binary driver
This commit is contained in:
parent
23825f938f
commit
c6cc83a38b
6
setup.py
6
setup.py
|
@ -145,7 +145,11 @@ if exists('/opt/vc/include/bcm_host.h'):
|
|||
# use mesa video core drivers
|
||||
if environ.get('VIDEOCOREMESA', None):
|
||||
platform = 'vc'
|
||||
if exists('/usr/lib/arm-linux-gnueabihf/libMali.so'):
|
||||
mali_paths = (
|
||||
'/usr/lib/arm-linux-gnueabihf/libMali.so',
|
||||
'/usr/lib/arm-linux-gnueabihf/mali-egl/libmali.so',
|
||||
'/usr/local/mali-egl/libmali.so')
|
||||
if any((exists(path) for path in mali_paths)):
|
||||
platform = 'mali'
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue