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', ], )