diff options
author | Ying Wang <wangying@google.com> | 2010-10-14 16:13:31 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2010-10-14 16:13:31 -0700 |
commit | a1b592e60dee58aaaf66ce430f3dbe36cf0448bb (patch) | |
tree | b34fee41e098d981ebff23052a0999b510a256c7 | |
parent | d4e03f37423bee383d17f7292753a5f67e497a28 (diff) | |
download | frameworks_base-a1b592e60dee58aaaf66ce430f3dbe36cf0448bb.zip frameworks_base-a1b592e60dee58aaaf66ce430f3dbe36cf0448bb.tar.gz frameworks_base-a1b592e60dee58aaaf66ce430f3dbe36cf0448bb.tar.bz2 |
Link against the static libcrypto in external/openssl.
Change-Id: Iad41ec975f9b9a4aec0b8470678320f5abe03e1f
-rw-r--r-- | tools/obbtool/Android.mk | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/tools/obbtool/Android.mk b/tools/obbtool/Android.mk index 9866876..d118bd7 100644 --- a/tools/obbtool/Android.mk +++ b/tools/obbtool/Android.mk @@ -29,21 +29,18 @@ LOCAL_MODULE := obbtool include $(BUILD_HOST_EXECUTABLE) -# Non-Linux hosts might not have OpenSSL libcrypto -ifeq ($(HOST_OS),linux) - include $(CLEAR_VARS) - - LOCAL_MODULE := pbkdf2gen - - LOCAL_MODULE_TAGS := optional - - LOCAL_CFLAGS := -Wall -Werror - - LOCAL_SRC_FILES := pbkdf2gen.cpp +##################################################### +include $(CLEAR_VARS) - LOCAL_SHARED_LIBRARIES := libcrypto +LOCAL_MODULE := pbkdf2gen +LOCAL_MODULE_TAGS := optional +LOCAL_CFLAGS := -Wall -Werror +LOCAL_SRC_FILES := pbkdf2gen.cpp +LOCAL_LDLIBS += -ldl +LOCAL_C_INCLUDES := external/openssl/include $(LOCAL_C_INCLUDES) +LOCAL_STATIC_LIBRARIES := libcrypto_static - include $(BUILD_HOST_EXECUTABLE) -endif # HOST_OS == linux +include $(BUILD_HOST_EXECUTABLE) +####################################################### endif # TARGET_BUILD_APPS |