diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-19 20:10:46 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-09-12 17:48:10 +0200 |
commit | 6d4af5f515f2f3b09bf69454687674538b0fc50c (patch) | |
tree | 89a85c3b237ab5e272fcf28af279bf669ed9d117 | |
parent | ca4a5ea6c810bb09735e4e92ca943779cc4ff674 (diff) | |
download | hardware_replicant_libsamsung-ipc-6d4af5f515f2f3b09bf69454687674538b0fc50c.tar.gz hardware_replicant_libsamsung-ipc-6d4af5f515f2f3b09bf69454687674538b0fc50c.tar.bz2 hardware_replicant_libsamsung-ipc-6d4af5f515f2f3b09bf69454687674538b0fc50c.zip |
Android: tools: dynamically link to libsamsung-ipc
There is no point of bundling a copy of libsamsung-ipc in the
tools.
It's also counter-intuitive as developers do expect the tools
to be able to test the same libsamsung-ipc that is used by
the system and not a separate copy.
Without that we also have some compilation issue with ipc-modem.
external/libsamsung-ipc/samsung-ipc/rfs.c:55: error: undefined reference to 'MD5_Init'
external/libsamsung-ipc/samsung-ipc/rfs.c:56: error: undefined reference to 'MD5_Update'
external/libsamsung-ipc/samsung-ipc/rfs.c:57: error: undefined reference to 'MD5_Update'
external/libsamsung-ipc/samsung-ipc/rfs.c:58: error: undefined reference to 'MD5_Final'
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | Android.mk | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -138,9 +138,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := tools/ipc-modem.c LOCAL_C_INCLUDES := $(LOCAL_PATH)/include - -LOCAL_STATIC_LIBRARIES := libsamsung-ipc -LOCAL_SHARED_LIBRARIES := libutils +LOCAL_SHARED_LIBRARIES := libsamsung-ipc include $(BUILD_EXECUTABLE) @@ -156,7 +154,6 @@ LOCAL_SRC_FILES := tools/ipc-test.c LOCAL_C_INCLUDES := $(LOCAL_PATH)/include -LOCAL_STATIC_LIBRARIES := libsamsung-ipc -LOCAL_SHARED_LIBRARIES := libutils +LOCAL_SHARED_LIBRARIES := libsamsung-ipc include $(BUILD_EXECUTABLE) |