build: Enable EGL on Android

It's the only platform specific API it has.
macos/v1.5.9
Emmanuele Bassi 8 years ago
parent 9c8b65a233
commit 21feea047e
  1. 1
      configure.ac
  2. 2
      meson.build

@ -98,7 +98,6 @@ AS_CASE([$enable_egl],
AS_CASE([$host_os], AS_CASE([$host_os],
[mingw*], [build_egl=no], [mingw*], [build_egl=no],
[darwin*], [build_egl=no], [darwin*], [build_egl=no],
[android*], [build_egl=no],
[build_egl=yes]) [build_egl=yes])
], ],

@ -60,7 +60,7 @@ if enable_egl == 'auto'
elif host_system == 'darwin' elif host_system == 'darwin'
build_egl = false build_egl = false
elif host_system == 'android' elif host_system == 'android'
build_egl = false build_egl = true
else else
build_egl = true build_egl = true
endif endif

Loading…
Cancel
Save