Merge pull request from neheb/exp22

expat: fix compilation with doc2man
This commit is contained in:
Rosen Penev 2020-07-08 14:14:11 -07:00 committed by GitHub
commit 2cfce35c50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/