summaryrefslogtreecommitdiff
path: root/python/build/libs.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/build/libs.py')
-rw-r--r--python/build/libs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/build/libs.py b/python/build/libs.py
index a46902a19..569159f34 100644
--- a/python/build/libs.py
+++ b/python/build/libs.py
@@ -358,6 +358,12 @@ curl = AutotoolsProject(
'--disable-crypto-auth', '--disable-ntlm-wb', '--disable-tls-srp', '--disable-cookies',
'--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),
+ }
)
boost = BoostProject(