Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8cd8ada

Browse files
[[ Bug 14326 ]] Fix also external.c symbols for Android
1 parent 1501886 commit 8cd8ada

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

revdb/Android.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ LOCAL_STATIC_LIBRARIES := libexternal libcore
2525
LOCAL_LDLIBS += -lz -llog \
2626
$(call host-path,$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/$(TARGET_ARCH_ABI)/libstdc++.a)
2727

28-
LOCAL_LDFLAGS += -Wl,-u,getXtable
28+
# SN-2015-03-25: [[ Bug 14326 ]] Add the symbol to allow the mobile externals to access
29+
# the external interface version setting function
30+
LOCAL_LDFLAGS += -Wl,-u,getXtable -Wl,-u,setExternalInterfaceVersion -Wl,-u,configureSecurity
2931

3032
include $(BUILD_SHARED_LIBRARY)
3133

revxml/Android.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ LOCAL_STATIC_LIBRARIES := libexternal libxslt libxml
2323
LOCAL_LDLIBS += -lz \
2424
$(call host-path,$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/$(TARGET_ARCH_ABI)/libstdc++.a)
2525

26-
LOCAL_LDFLAGS += -Wl,-u,getXtable
26+
# SN-2015-03-25: [[ Bug 14326 ]] Add the symbol to allow the mobile externals to access
27+
# the external interface version setting function
28+
LOCAL_LDFLAGS += -Wl,-u,getXtable -Wl,-u,setExternalInterfaceVersion -Wl,-u,configureSecurity
2729

2830
include $(BUILD_SHARED_LIBRARY)

revzip/Android.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ LOCAL_STATIC_LIBRARIES := libexternal libzip
2121

2222
LOCAL_LDLIBS += -lz \
2323
$(call host-path,$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/libs/$(TARGET_ARCH_ABI)/libstdc++.a)
24-
25-
LOCAL_LDFLAGS += -Wl,-u,getXtable
24+
25+
# SN-2015-03-25: [[ Bug 14326 ]] Add the symbol to allow the mobile externals to access
26+
# the external interface version setting function
27+
LOCAL_LDFLAGS += -Wl,-u,getXtable -Wl,-u,setExternalInterfaceVersion -Wl,-u,configureSecurity
2628

2729
include $(BUILD_SHARED_LIBRARY)

0 commit comments

Comments
 (0)