Auto merge of #40507 - alexcrichton:static-libcurl, r=brson
travis: Ensure cargo links libcurl statically We don't want a dynamic dependency in the library that we ship, so link it statically by configuring curl-sys's build script to not pick up the system version via pkg-config.
This commit is contained in:
commit
df3ab375f3
@ -86,4 +86,10 @@ ENV RUST_CONFIGURE_ARGS \
|
|||||||
--enable-extended \
|
--enable-extended \
|
||||||
--enable-sanitizers
|
--enable-sanitizers
|
||||||
ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
|
ENV SCRIPT python2.7 ../x.py dist --host $HOSTS --target $HOSTS
|
||||||
|
|
||||||
|
# This is the only builder which will create source tarballs
|
||||||
ENV DIST_SRC 1
|
ENV DIST_SRC 1
|
||||||
|
|
||||||
|
# When we build cargo in this container, we don't want it to use the system
|
||||||
|
# libcurl, instead it should compile its own.
|
||||||
|
ENV LIBCURL_NO_PKG_CONFIG 1
|
||||||
|
Loading…
Reference in New Issue
Block a user