summaryrefslogtreecommitdiffstats
path: root/opengl/libGLES_CM/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/libGLES_CM/Android.mk')
-rw-r--r--opengl/libGLES_CM/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/opengl/libGLES_CM/Android.mk b/opengl/libGLES_CM/Android.mk
index a0081ef..e350e02 100644
--- a/opengl/libGLES_CM/Android.mk
+++ b/opengl/libGLES_CM/Android.mk
@@ -15,7 +15,9 @@ LOCAL_MODULE:= libGLES_CM
# needed on sim build because of weird logging issues
ifeq ($(TARGET_SIMULATOR),true)
else
- LOCAL_SHARED_LIBRARIES += libdl
+ LOCAL_SHARED_LIBRARIES += libdl
+ # we need to access the Bionic private header <bionic_tls.h>
+ LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private
endif
include $(BUILD_SHARED_LIBRARY)