summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-05-02 16:07:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-05-02 16:07:59 +0000
commit7f01ddce5984e5555cb3315289af0d18530d9c3b (patch)
tree5189e8b8d5f8346fb559448704157262bc5dad39
parentc1b05eb57fadc3796aff6079d5a65e3c809aa9de (diff)
parent32e8f93ccd0aad87b5570b88f3ce5f1ea7530be3 (diff)
downloadreplicant_openssl-7f01ddce5984e5555cb3315289af0d18530d9c3b.zip
replicant_openssl-7f01ddce5984e5555cb3315289af0d18530d9c3b.tar.gz
replicant_openssl-7f01ddce5984e5555cb3315289af0d18530d9c3b.tar.bz2
Merge "Give unique name to host build shared libraries"
-rw-r--r--Apps.mk8
-rw-r--r--Crypto.mk2
-rw-r--r--Ssl.mk4
3 files changed, 5 insertions, 9 deletions
diff --git a/Apps.mk b/Apps.mk
index 57d43b9..7fd5539 100644
--- a/Apps.mk
+++ b/Apps.mk
@@ -2,10 +2,6 @@
LOCAL_PATH:= $(call my-dir)
-local_shared_libraries := \
- libssl \
- libcrypto
-
local_c_includes :=
local_c_flags :=
@@ -17,7 +13,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE:= openssl
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(target_src_files)
-LOCAL_SHARED_LIBRARIES := $(local_shared_libraries)
+LOCAL_SHARED_LIBRARIES := libssl libcrypto
LOCAL_C_INCLUDES := $(target_c_includes)
LOCAL_CFLAGS := $(target_c_flags)
LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
@@ -28,7 +24,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE:= openssl
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(host_src_files)
-LOCAL_SHARED_LIBRARIES := $(local_shared_libraries)
+LOCAL_SHARED_LIBRARIES := libssl-host libcrypto-host
LOCAL_C_INCLUDES := $(host_c_includes)
LOCAL_CFLAGS := $(host_c_flags)
LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
diff --git a/Crypto.mk b/Crypto.mk
index 8827383..5e20b7b 100644
--- a/Crypto.mk
+++ b/Crypto.mk
@@ -55,7 +55,7 @@ LOCAL_CFLAGS += $(host_c_flags) -DPURIFY
LOCAL_C_INCLUDES += $(host_c_includes)
LOCAL_LDLIBS += -ldl
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE:= libcrypto
+LOCAL_MODULE:= libcrypto-host
LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
include $(BUILD_HOST_SHARED_LIBRARY)
diff --git a/Ssl.mk b/Ssl.mk
index ca1290a..dddf7ff 100644
--- a/Ssl.mk
+++ b/Ssl.mk
@@ -49,9 +49,9 @@ include $(LOCAL_PATH)/android-config.mk
LOCAL_SRC_FILES += $(host_src_files)
LOCAL_CFLAGS += $(host_c_flags)
LOCAL_C_INCLUDES += $(host_c_includes)
-LOCAL_SHARED_LIBRARIES += libcrypto $(log_shared_libraries)
+LOCAL_SHARED_LIBRARIES += libcrypto-host $(log_shared_libraries)
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE:= libssl
+LOCAL_MODULE:= libssl-host
LOCAL_ADDITIONAL_DEPENDENCIES := $(local_additional_dependencies)
include $(BUILD_HOST_SHARED_LIBRARY)