python/build/libs.py: build only the library

This commit is contained in:
Max Kellermann 2018-02-09 22:26:07 +01:00
parent 2988bb77e8
commit b8a094470b

View File

@ -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(