aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/polarssl
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-07-24 22:26:44 +0000
committerSteven Barth <cyrus@openwrt.org>2015-07-24 22:26:44 +0000
commitda337e211e717f33bef6069fca9591e11d0071eb (patch)
tree89536416f84744b56cce6c7eca297a2b411d6f40 /package/libs/polarssl
parent5b76e57dc2e047a3e98401d3ef8d47f0c2f8a0ee (diff)
downloadupstream-da337e211e717f33bef6069fca9591e11d0071eb.tar.gz
upstream-da337e211e717f33bef6069fca9591e11d0071eb.tar.bz2
upstream-da337e211e717f33bef6069fca9591e11d0071eb.zip
mbedtls: package version 2.0, make polarssl compatible
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46484
Diffstat (limited to 'package/libs/polarssl')
-rw-r--r--package/libs/polarssl/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/libs/polarssl/Makefile b/package/libs/polarssl/Makefile
index a232ef6fab..c7e603623a 100644
--- a/package/libs/polarssl/Makefile
+++ b/package/libs/polarssl/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mbedtls
PKG_VERSION:=1.3.11
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz
@@ -58,14 +58,14 @@ define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/polarssl $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmbedtls.so* $(1)/usr/lib/
- $(LN) libmbedtls.so $(1)/usr/lib/libpolarssl.so
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmbedtls.so.* $(1)/usr/lib/
+ $(LN) libmbedtls.so.$(PKG_VERSION) $(1)/usr/lib/libpolarssl.so
endef
define Package/libpolarssl/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmbedtls.so* $(1)/usr/lib/
- $(LN) libmbedtls.so $(1)/usr/lib/libpolarssl.so
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmbedtls.so.* $(1)/usr/lib/
+ $(LN) libmbedtls.so.$(PKG_VERSION) $(1)/usr/lib/libpolarssl.so
endef
$(eval $(call BuildPackage,libpolarssl))