Skip to content

Commit

Permalink
[curl] Re-enable proxy support in libcurl
Browse files Browse the repository at this point in the history
For minimization purposes, libcurl is built with most features disabled.
One of the disabled features was proxy support. This made libcurl-based
dependencies, such as RA-TLS libs, unusable in proxy-restricted
environments (e.g. with a company-wide proxy). This commit re-enables
proxy support, which increases the size of `libcurl.a` by ~7%.

Signed-off-by: Dmitrii Kuvaiskii <[email protected]>
  • Loading branch information
Dmitrii Kuvaiskii committed Jan 18, 2024
1 parent 35f5d4b commit 3d55c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subprojects/packagefiles/curl-8.4.0/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cp -ar "$CURRENT_SOURCE_DIR" "$PRIVATE_DIR"
# The list of configure options is selected based on:
# https://github.com/curl/curl/blob/curl-8_4_0/docs/INSTALL.md#reducing-size
./configure \
--enable-proxy \
--disable-alt-svc \
--disable-ares \
--disable-cookies \
Expand All @@ -53,7 +54,6 @@ cp -ar "$CURRENT_SOURCE_DIR" "$PRIVATE_DIR"
--disable-ntlm-wb \
--disable-pop3 \
--disable-progress-meter \
--disable-proxy \
--disable-pthreads \
--disable-rtsp \
--disable-shared \
Expand Down

0 comments on commit 3d55c8d

Please sign in to comment.