This executable calls function ins libcryto.so without explicitly linking it.
authorMichael Richardson <mcr@sandelman.ca>
Mon, 17 Feb 2014 17:11:59 +0000 (12:11 -0500)
committerMichael Richardson <mcr@sandelman.ca>
Mon, 17 Feb 2014 17:11:59 +0000 (12:11 -0500)
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 057fda853f2134a48f0e8822b908ce30f92dbba2..b479f422534ca258a42b3de5dc0e250e32b3e4c2 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