This executable calls function ins libcryto.so without explicitly linking it.
authorDoug Kwan <dougkwan@google.com>
Fri, 2 Oct 2009 22:54:56 +0000 (15:54 -0700)
committerDoug Kwan <dougkwan@google.com>
Fri, 2 Oct 2009 22:54:56 +0000 (15:54 -0700)
Currently this works because the library is linked via dependency of another
shared library.  This is fragile and not the right thing to do.

Android.mk

index bf2e4ce96773389df8c705ba1b6cf186b924cc59..932abc70b9407b620dd8969acce0c7728bf18ebd 100644 (file)
@@ -127,7 +127,7 @@ LOCAL_C_INCLUDES += \
        external/openssl/include\
        external/libpcap
 
-LOCAL_SHARED_LIBRARIES += libssl
+LOCAL_SHARED_LIBRARIES += libssl libcrypto
 
 LOCAL_STATIC_LIBRARIES += libpcap