aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-29 00:49:27 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-12-05 23:34:50 +0100
commit285f0d8d4c7e481052101899b253ad397fb3ef7a (patch)
tree88563e2300575690e8b9fceaa1847a62ffb47c99
parent5ca23229cee67e46fe47ff75ef31f6a1357c3a17 (diff)
downloadhardware_replicant_libsamsung-ipc-285f0d8d4c7e481052101899b253ad397fb3ef7a.tar.gz
hardware_replicant_libsamsung-ipc-285f0d8d4c7e481052101899b253ad397fb3ef7a.tar.bz2
hardware_replicant_libsamsung-ipc-285f0d8d4c7e481052101899b253ad397fb3ef7a.zip
Android: tools: dynamically link to libsamsung-ipcreplicant-6.0-0004-rc1
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.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index cca4bb7..cc108c3 100644
--- a/Android.mk
+++ b/Android.mk
@@ -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)