python/build/libs.py: build expat with cmake

This commit is contained in:
Max Kellermann 2021-09-20 23:22:56 +02:00
parent d5a9f6d79d
commit 5faf6d061f
1 changed files with 6 additions and 3 deletions

View File

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