From b8a094470b157894aa49db4466fb0296bb164573 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Feb 2018 22:26:07 +0100 Subject: [PATCH] python/build/libs.py: build only the library --- python/build/libs.py | 6 ++++++ 1 file changed, 6 insertions(+) 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(