diff options
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/drivers/dri2/Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/Android.mk b/src/egl/drivers/dri2/Android.mk index d5ac8ee34cb..d48506a7e5a 100644 --- a/src/egl/drivers/dri2/Android.mk +++ b/src/egl/drivers/dri2/Android.mk @@ -46,6 +46,12 @@ LOCAL_STATIC_LIBRARIES := \ libmesa_loader LOCAL_SHARED_LIBRARIES := libdrm + +ifeq ($(shell echo "$(MESA_ANDROID_VERSION) >= 4.2" | bc),1) +LOCAL_SHARED_LIBRARIES += \ + libsync +endif + LOCAL_MODULE := libmesa_egl_dri2 include $(MESA_COMMON_MK) |