diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-04-17 17:36:46 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-24 16:27:49 +0200 |
commit | 9a6fd5bcc42c0bcef1d2a1fd27d023007ef1416d (patch) | |
tree | a4e10daddc619899d2272b29d3c41e27913999d7 | |
parent | 90022839e5451c4dc2a54e81bc21cb80c83e1e13 (diff) | |
download | hardware_replicant_libsamsung-ril-9a6fd5bcc42c0bcef1d2a1fd27d023007ef1416d.tar.gz hardware_replicant_libsamsung-ril-9a6fd5bcc42c0bcef1d2a1fd27d023007ef1416d.tar.bz2 hardware_replicant_libsamsung-ril-9a6fd5bcc42c0bcef1d2a1fd27d023007ef1416d.zip |
Fix undefined references to MD5_{Init,Update,Final}
Before this change, libsamsung-ril was using
libsamsung-ipc as a static library.
However, libsamsung-ipc is dynamically linked to
libcrypto.
Statically linking libsamsung-ril to libsamsung-ipc
results in the following errors, which disapear when
using dynamic linking:
rfs.c:50: error: undefined reference to 'MD5_Init'
rfs.c:51: error: undefined reference to 'MD5_Update'
rfs.c:52: error: undefined reference to 'MD5_Update'
rfs.c:53: error: undefined reference to 'MD5_Final'
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | Android.mk | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -48,8 +48,7 @@ LOCAL_C_INCLUDES := \ LOCAL_CFLAGS := -DRIL_SHLIB -LOCAL_SHARED_LIBRARIES := libcutils libnetutils libutils liblog libpower libcrypto -LOCAL_STATIC_LIBRARIES := libsamsung-ipc +LOCAL_SHARED_LIBRARIES := libcutils libnetutils libutils liblog libpower libcrypto libsamsung-ipc LOCAL_PRELINK_MODULE := false LOCAL_MODULE_TAGS := optional |