Depend on libandroid_runtime
libloc_pla is playing tricks with -Wl,--export-dynamic to use symbols from libandroid_runtime without depending on it. libandroid_runtime's headers are moving to where they are only exported to modules that depend on it, so add a dependency and remove -Wl,--export-dynamic Bug: 33630870 Test: builds Change-Id: I9b0567a48ded63031085b6ba93fb3b36404279e1 (cherry picked from commit ada652709d5a1b9faedecc02739d2ed610e18f86)
This commit is contained in:
@@ -10,7 +10,8 @@ LOCAL_SHARED_LIBRARIES := \
|
|||||||
libutils \
|
libutils \
|
||||||
libcutils \
|
libcutils \
|
||||||
liblog \
|
liblog \
|
||||||
libloc_stub
|
libloc_stub \
|
||||||
|
libandroid_runtime
|
||||||
|
|
||||||
LOCAL_SRC_FILES += \
|
LOCAL_SRC_FILES += \
|
||||||
platform_lib_android_runtime.cpp \
|
platform_lib_android_runtime.cpp \
|
||||||
@@ -26,8 +27,6 @@ LOCAL_CFLAGS += \
|
|||||||
-std=c++11
|
-std=c++11
|
||||||
|
|
||||||
|
|
||||||
LOCAL_LDFLAGS += -Wl,--export-dynamic
|
|
||||||
|
|
||||||
## Includes
|
## Includes
|
||||||
LOCAL_C_INCLUDES:= \
|
LOCAL_C_INCLUDES:= \
|
||||||
$(LOCAL_PATH)/../include \
|
$(LOCAL_PATH)/../include \
|
||||||
|
|||||||
Reference in New Issue
Block a user