ustream-ssl: fix SNI when building against cyassl

Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45224 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Nicolas Thill 2015-04-01 15:11:38 +00:00
parent 773e820087
commit dbaf04f067
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ define Package/libustream-polarssl
endef
ifeq ($(BUILD_VARIANT),cyassl)
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/cyassl
CMAKE_OPTIONS += -DCYASSL=on -DHAVE_SNI
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/cyassl -DHAVE_SNI
CMAKE_OPTIONS += -DCYASSL=on
endif
ifeq ($(BUILD_VARIANT),polarssl)
CMAKE_OPTIONS += -DPOLARSSL=on