ustream-ssl: fix SNI when building against cyassl

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

SVN-Revision: 45224
This commit is contained in:
Nicolas Thill 2015-04-01 15:11:38 +00:00
parent 32085b22b0
commit b8dccba8f2

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