diff options
author | Emil Velikov <[email protected]> | 2015-03-27 18:36:10 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-04-22 16:16:15 +0100 |
commit | 33c6a4c018976a673df7e94df5d43ea40369f878 (patch) | |
tree | e30eb650f27882bfeb3163b2ac4ded5ccd7e0bc0 | |
parent | 548fc14d362fd4ea49e0742aaaf1de04184f93d0 (diff) |
android: egl: add libsync_cflags to the build
... via local_shared_libraries. Otherwise the sync/sync.h header won't
be found.
Note: 10.5 and earlier will need similar change in st/egl.
v2: Append the library to the local_shared_libraries list. (Chih-Wei)
Cc: "10.4 10.5" <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Chih-Wei Huang <[email protected]>
(cherry picked from commit 2d06791f6f9e8ab37109be52e63d247bbbcb42d4)
-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) |