From 0de5f3b5d020f2ae920bb9f004999966dc83586a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 8 Jul 2020 14:07:34 -0700 Subject: [PATCH] expat: fix compilation with doc2man Even though doc2man is explicitly disabled, it is only for the target. Split out the options to a separate variable. Signed-off-by: Rosen Penev --- libs/expat/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/expat/Makefile b/libs/expat/Makefile index f3f421249..90b6c1404 100644 --- a/libs/expat/Makefile +++ b/libs/expat/Makefile @@ -36,7 +36,7 @@ define Package/libexpat/description A fast, non-validating, stream-oriented XML parsing library. endef -CMAKE_OPTIONS += \ +OPTIONS += \ -DDOCBOOK_TO_MAN=OFF \ -DEXPAT_BUILD_TOOLS=OFF \ -DEXPAT_BUILD_EXAMPLES=OFF \ @@ -48,6 +48,9 @@ CMAKE_OPTIONS += \ -DEXPAT_NS=OFF \ -DEXPAT_DEV_URANDOM=OFF +CMAKE_OPTIONS += $(OPTIONS) +CMAKE_HOST_OPTIONS += $(OPTIONS) + define Package/libexpat/install $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/