From 5faf6d061fb027b90b6d6504fdcbf720ad256266 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Sep 2021 23:22:56 +0200 Subject: [PATCH] python/build/libs.py: build expat with cmake --- python/build/libs.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python/build/libs.py b/python/build/libs.py index 24fd33e47..6dbfb901b 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -423,13 +423,16 @@ curl = AutotoolsProject( patches='src/lib/curl/patches', ) -libexpat = AutotoolsProject( +libexpat = CmakeProject( 'https://github.com/libexpat/libexpat/releases/download/R_2_2_9/expat-2.2.9.tar.bz2', 'f1063084dc4302a427dabcca499c8312b3a32a29b7d2506653ecc8f950a9a237', 'lib/libexpat.a', [ - '--disable-shared', '--enable-static', - '--without-docbook', + '-DEXPAT_BUILD_TOOLS=OFF', + '-DEXPAT_BUILD_EXAMPLES=OFF', + '-DEXPAT_BUILD_TESTS=OFF', + '-DEXPAT_SHARED_LIBS=OFF', + '-DEXPAT_BUILD_DOCS=OFF', ], )