diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-08-21 12:55:43 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-09-11 13:16:27 +0200 |
commit | 673547ad3305eca31ac01f7c709665d462ec2381 (patch) | |
tree | 66115698baa84a9125c7b42edc020e743e88fd10 /libs/expat/Makefile | |
parent | 97b08ad93588f32efcb72a3435e67e07a66f32ae (diff) |
suricata6: fix build
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'libs/expat/Makefile')
-rw-r--r-- | libs/expat/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/expat/Makefile b/libs/expat/Makefile index e41d6fd..dd8710e 100644 --- a/libs/expat/Makefile +++ b/libs/expat/Makefile @@ -21,6 +21,7 @@ PKG_CPE_ID:=cpe:/a:libexpat:expat CMAKE_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/cmake.mk define Package/libexpat @@ -46,9 +47,22 @@ CMAKE_OPTIONS += \ -DEXPAT_NS=OFF \ -DEXPAT_DEV_URANDOM=OFF +CMAKE_HOST_OPTIONS += \ + -DDOCBOOK_TO_MAN=OFF \ + -DEXPAT_BUILD_TOOLS=OFF \ + -DEXPAT_BUILD_EXAMPLES=OFF \ + -DEXPAT_BUILD_TESTS=OFF \ + -DEXPAT_BUILD_DOCS=OFF \ + -DEXPAT_WITH_LIBBSD=OFF \ + -DEXPAT_ENABLE_INSTALL=ON \ + -DEXPAT_DTD=OFF \ + -DEXPAT_NS=OFF \ + -DEXPAT_DEV_URANDOM=OFF + define Package/libexpat/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/ endef $(eval $(call BuildPackage,libexpat)) +$(eval $(call HostBuild)) |