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:58:56 +0200 |
commit | 49265c1ce4ed2c9d18e697484bdbb75dc5b09bf2 (patch) | |
tree | 88563e2300575690e8b9fceaa1847a62ffb47c99 | |
parent | 4ed6e96220516f33eca08209f1bb47661744cb3f (diff) | |
download | hardware_replicant_libsamsung-ipc-49265c1ce4ed2c9d18e697484bdbb75dc5b09bf2.tar.gz hardware_replicant_libsamsung-ipc-49265c1ce4ed2c9d18e697484bdbb75dc5b09bf2.tar.bz2 hardware_replicant_libsamsung-ipc-49265c1ce4ed2c9d18e697484bdbb75dc5b09bf2.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
@@ -137,9 +137,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) @@ -155,7 +153,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) |