summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorJiaojinxing <jiaojinxing1987@gmail.com>2018-03-05 02:26:57 (GMT)
committer Jiaojinxing <jiaojinxing1987@gmail.com>2018-03-05 02:26:57 (GMT)
commita82cbfd8e583ad31377563469af4b9597308fecd (patch)
treeb6f093b3e51dc50badd5faaecdbb4303c6697573
parent889b4e29495457cbb909397725ca00e494d0f058 (diff)
downloadopenssl-a82cbfd8e583ad31377563469af4b9597308fecd.zip
openssl-a82cbfd8e583ad31377563469af4b9597308fecd.tar.gz
openssl-a82cbfd8e583ad31377563469af4b9597308fecd.tar.bz2
Fixed libssl.so depend library.
-rw-r--r--libssl.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/libssl.mk b/libssl.mk
index 6e54362..ae734a7 100644
--- a/libssl.mk
+++ b/libssl.mk
@@ -111,8 +111,8 @@ LOCAL_CXXFLAGS :=
#*********************************************************************************************************
# Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path")
#*********************************************************************************************************
-LOCAL_DEPEND_LIB :=
-LOCAL_DEPEND_LIB_PATH :=
+LOCAL_DEPEND_LIB := -lcrypto
+LOCAL_DEPEND_LIB_PATH := -L"$(OUTDIR)"
#*********************************************************************************************************
# C++ config
@@ -138,6 +138,11 @@ LOCAL_POST_LINK_CMD :=
LOCAL_PRE_STRIP_CMD :=
LOCAL_POST_STRIP_CMD :=
+#*********************************************************************************************************
+# Depend target
+#*********************************************************************************************************
+LOCAL_DEPEND_TARGET := ./$(OUTDIR)/libcrypto.so
+
include $(LIBRARY_MK)
#*********************************************************************************************************