diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-01-31 14:37:35 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-01-31 14:37:35 +0100 |
commit | 747d98ea03f7ba4181f0b9185d3d73d1734bb8d1 (patch) | |
tree | 14fb4708498c727d6690be47abbfba568bcd4f03 /package/openssl/Makefile | |
parent | bb2385e3efd35d3d0f95677a1833fbfc6a314af8 (diff) |
fix build on x86_64
Diffstat (limited to 'package/openssl/Makefile')
-rw-r--r-- | package/openssl/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile index 411a79b15..d6dcd5ce0 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= openssl PKG_VERSION:= 1.0.1c -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_MD5SUM:= ae412727c8c15b67880aef7bd2999b2e PKG_DESCR:= OpenSSL (Secure Socket Layer) libraries PKG_SECTION:= libs @@ -53,11 +53,17 @@ ifneq ($(ADK_PACKAGE_LIBOPENSSL_WITH_CRYPTODEV),) OPENSSL_OPTIONS+= -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS endif +ifeq ($(ADK_LINUX_X86_64),y) +CONFIG:= linux-embedded-x86_64 +else +CONFIG:= linux-embedded +endif + do-configure: (cd $(WRKBUILD); \ PATH=$(TARGET_PATH) \ OPTIMIZATION_FLAGS="$(TARGET_CFLAGS) -fPIC" \ - ./Configure linux-embedded \ + ./Configure $(CONFIG) \ --prefix=/usr \ --openssldir=/etc/ssl \ -I$(STAGING_TARGET_DIR)/usr/include \ @@ -76,7 +82,7 @@ do-build: post-install: ${INSTALL_DIR} ${IDIR_LIBOPENSSL}/usr/lib - ${CP} ${WRKINST}/usr/lib/lib*.so* ${IDIR_LIBOPENSSL}/usr/lib + ${CP} ${WRKINST}/usr/lib*/lib*.so* ${IDIR_LIBOPENSSL}/usr/lib chmod 644 ${IDIR_LIBOPENSSL}/usr/lib/lib*.so* openssl-util-install: |