build: Add libexpat to the crosscompile build on Windows.

The Curl plugin requires libexpat in order to work these days, so we should
download and build it in order to get the plugin enabled on Windows.
This commit is contained in:
Joshua Wise 2018-08-17 02:41:08 -04:00 committed by Max Kellermann
parent aaf588aeaa
commit a5cc13b0c5
3 changed files with 12 additions and 0 deletions

2
NEWS
View File

@ -8,6 +8,8 @@ ver 0.20.21 (not yet released)
* playlist
- cue: support file type declaration "FLAC" (non-standard)
* URI schemes are case insensitive
* Windows
- enable the "curl" storage plugin
ver 0.20.20 (2018/05/22)
* protocol

View File

@ -364,6 +364,15 @@ curl = AutotoolsProject(
patches='src/lib/curl/patches',
)
libexpat = AutotoolsProject(
'https://github.com/libexpat/libexpat/releases/download/R_2_2_6/expat-2.2.6.tar.bz2',
'17b43c2716d521369f82fc2dc70f359860e90fa440bea65b3b85f0b246ea81f2',
'lib/libexpat.a',
[
'--disable-shared', '--enable-static',
],
)
libnfs = AutotoolsProject(
'https://github.com/sahlberg/libnfs/archive/libnfs-3.0.0.tar.gz',
'445d92c5fc55e4a5b115e358e60486cf8f87ee50e0103d46a02e7fb4618566a5',

View File

@ -86,6 +86,7 @@ thirdparty_libs = [
liblame,
ffmpeg,
curl,
libexpat,
libnfs,
boost,
]