From 64d3f78ee5d9dabf7df6106241dfae3334b34714 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Mon, 17 Nov 2014 18:29:13 +0900 Subject: [PATCH] Follow up to https://android-review.googlesource.com/114561 Looks like unbundled builds need to use --hash-style=sysv for the sake of compatibility Change-Id: Ia7b3a1cc3b2c91a8628551888a74925926dff855 --- native/jni/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/native/jni/Android.mk b/native/jni/Android.mk index 6003a6f64..402cb3b67 100644 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -92,6 +92,9 @@ LOCAL_SDK_VERSION := 14 LOCAL_NDK_STL_VARIANT := c++_static LOCAL_LDFLAGS += -ldl +# TODO: Figure out what we should do with --hash-style=gnu for unbundled builds +LOCAL_LDFLAGS += -Wl,--hash-style=sysv + include $(BUILD_SHARED_LIBRARY) #################### Clean up the tmp vars include $(LOCAL_PATH)/CleanupNativeFileList.mk