diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-04-17 17:36:46 +0200 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-06-20 16:17:26 +0200 |
| commit | 46e08199531cf2329040a42dd2461845d13c20b9 (patch) | |
| tree | 05bfb1455a2a5f463189849885130243e8fbcdd8 | |
| parent | 4b218bb34bd2b6b382b5e1e85510fe86a1136c58 (diff) | |
| download | hardware_replicant_libsamsung-ril-46e08199531cf2329040a42dd2461845d13c20b9.tar.gz hardware_replicant_libsamsung-ril-46e08199531cf2329040a42dd2461845d13c20b9.tar.bz2 hardware_replicant_libsamsung-ril-46e08199531cf2329040a42dd2461845d13c20b9.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 |
