summaryrefslogtreecommitdiff
path: root/python/build/libs.py
diff options
context:
space:
mode:
authorJoshua Wise <joshua@joshuawise.com>2018-08-17 02:41:08 -0400
committerMax Kellermann <max@musicpd.org>2018-08-17 17:13:39 +0200
commita5cc13b0c5327ab742e2d3a66de63e1d0e02e7a6 (patch)
tree2cf52dd555193ceabfbdbc1b1afe35c6136a6aa8 /python/build/libs.py
parentaaf588aeaa4451dc6bc2bd7101093b559f73aeff (diff)
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.
Diffstat (limited to 'python/build/libs.py')
-rw-r--r--python/build/libs.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/build/libs.py b/python/build/libs.py
index ceab85c09..04e14e829 100644
--- a/python/build/libs.py
+++ b/python/build/libs.py
@@ -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',