Sorry I made a big mistake, I attached the wrong patch. For x86 you need
to disable the PIC optimization otherwise you get an error at compile time.

diff -r -u a/package/libs/cyassl/Makefile b/package/libs/cyassl/Makefile
--- a/package/libs/cyassl/Makefile    2013-03-21 08:08:18.000000000 +0100
+++ b/package/libs/cyassl/Makefile    2013-05-05 10:27:06.000000000 +0200
@@ -8,16 +8,14 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=cyassl
-PKG_VERSION:=1.6.5
-PKG_RELEASE:=2
+PKG_VERSION:=2.6.0
+PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
 PKG_SOURCE_URL:=http://www.yassl.com/
-PKG_MD5SUM:=98c2c6350acf1d089756a1de9ccb9903
+PKG_MD5SUM:=9c48fd4ab677c11b4612fb4eb15444d9

-PKG_FIXUP:=patch-libtool
 PKG_INSTALL:=1
-PKG_BUILD_PARALLEL:=1

 include $(INCLUDE_DIR)/package.mk

@@ -37,8 +35,12 @@
 TARGET_CFLAGS += $(FPIC)

 CONFIGURE_ARGS += \
-       --without-zlib \
-       --enable-singleThreaded
+       --without-pic \
+       --enable-dtls \
+       --enable-static \
+       --enable-opensslextra \
+       --enable-singlethreaded \
+       --disable-examples

 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include



I'm sorry again for the mistake
Massimo
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to