[Android] link to atomic in android projects

This commit is contained in:
zilmar 2016-11-28 05:32:09 +11:00
parent 2c3b810288
commit edcf7e4a08
3 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,7 @@ LOCAL_LDLIBS := \
-ldl \
-lGLESv2 \
-llog \
-latomic \
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
# Use for ARM7a:

View File

@ -26,5 +26,6 @@ LOCAL_CPPFLAGS := $(COMMON_CPPFLAGS) \
LOCAL_LDLIBS := \
-llog \
-lOpenSLES \
-latomic \
include $(BUILD_SHARED_LIBRARY)

View File

@ -28,6 +28,7 @@ LOCAL_CPPFLAGS := $(COMMON_CPPFLAGS)
LOCAL_LDLIBS := \
-llog \
-latomic \
ifeq ($(TARGET_ARCH_ABI), armeabi-v7a)
# Use for ARM7a: