diff options
author | Max Kellermann <max@musicpd.org> | 2018-02-09 23:02:35 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-02-09 23:14:27 +0100 |
commit | 3859a504662fdf829e432b8b8cd39ccc277a852b (patch) | |
tree | 389997b4c3166d35fea0047425f374ebd31b5f67 /python | |
parent | 927071e08511442604e7514aac8399229f722b63 (diff) |
python/build/libs.py: convert CURL edit to quilt patch
Diffstat (limited to 'python')
-rw-r--r-- | python/build/libs.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/python/build/libs.py b/python/build/libs.py index 569159f34..7d93799d8 100644 --- a/python/build/libs.py +++ b/python/build/libs.py @@ -1,4 +1,6 @@ import re +from os.path import abspath + from build.project import Project from build.zlib import ZlibProject from build.autotools import AutotoolsProject @@ -359,11 +361,7 @@ curl = AutotoolsProject( '--without-ssl', '--without-gnutls', '--without-nss', '--without-libssh2', ], - edits={ - # build only the library, not the "curl" command-line tool - 'Makefile.in': lambda data: re.sub(r'^SUBDIRS = lib src$', r'SUBDIRS = lib', - data, count=1, flags=re.MULTILINE), - } + patches='src/lib/curl/patches', ) boost = BoostProject( |