diff options
-rw-r--r-- | contrib/package/cyassl-luci/Makefile | 2 | ||||
-rw-r--r-- | contrib/package/luci/Makefile | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/package/cyassl-luci/Makefile b/contrib/package/cyassl-luci/Makefile index ab78909c06..d782f8e21c 100644 --- a/contrib/package/cyassl-luci/Makefile +++ b/contrib/package/cyassl-luci/Makefile @@ -43,7 +43,9 @@ CONFIGURE_ARGS += --without-zlib --enable-fastmath define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/ctaocrypt + $(INSTALL_DIR) $(1)/usr/include/cyassl $(CP) $(PKG_BUILD_DIR)/ctaocrypt/include/*.h $(1)/usr/include/ctaocrypt + $(CP) -R $(PKG_BUILD_DIR)/include/* $(1)/usr/include/cyassl/ $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/src/.libs/libcyassl.{a,so*} $(1)/usr/lib/ diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 7303c0302b..35a47479d4 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -27,6 +27,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install LUA_TARGET:=source +LUCI_CFLAGS:= PKG_SELECTED_MODULES:= @@ -281,6 +282,7 @@ endif ifneq ($(CONFIG_PACKAGE_luci-nixio_cyassl),) NIXIO_TLS:=cyassl + LUCI_CFLAGS+=-I$(STAGING_DIR)/usr/include/cyassl endif @@ -1077,7 +1079,7 @@ MAKE_FLAGS += \ MODULES="$(PKG_SELECTED_MODULES)" \ LUA_TARGET="$(LUA_TARGET)" \ LUA_SHLIBS="-llua -lm -ldl -lcrypt" \ - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ + CFLAGS="$(TARGET_CFLAGS) $(LUCI_CFLAGS) -I$(STAGING_DIR)/usr/include" \ LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib" \ NIXIO_TLS="$(NIXIO_TLS)" OS="Linux" |