python/build/libs.py: build expat with cmake
This commit is contained in:
parent
d5a9f6d79d
commit
5faf6d061f
|
@ -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',
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue