Skip to content

Commit

Permalink
[curlBuild] build curl with http3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Haldir65 committed Apr 8, 2024
1 parent d167bbf commit bad7356
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/build_curl_http3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,16 @@ function _build_curl(){
# _green "prebuilt_zstd_root = ${prebuilt_zstd_root}\n"
autoreconf -fi
# LDFLAGS="-Wl,-rpath,${quictls_install_dir}/${lib_folder}" ./configure --with-openssl=${quictls_install_dir} --with-nghttp3=${nghttp3_install_dir} --with-ngtcp2=${ngtcp_install_dir} --prefix=${curl_http3_dir}
CPPFLAGS="-I${prebuilt_psl_root}/include" LIBS="-lbrotlicommon" LDFLAGS="-Wl,-rpath,${quictls_install_dir}/${lib_folder} -L${prebuilt_brotli_root}/lib -L${prebuilt_psl_root}/lib" ./configure --with-zlib=${prebuilt_zlib_root} --with-zstd=${prebuilt_zstd_root} --with-openssl=${quictls_install_dir} --with-nghttp3=${nghttp3_install_dir} --with-ngtcp2=${ngtcp_install_dir} --with-nghttp2=${prebuilt_nghttp2_root} --with-brotli=${prebuilt_brotli_root} --enable-ares=${prebuilt_c_ares_root} --prefix=${curl_http3_dir} \
CPPFLAGS="-I${prebuilt_psl_root}/include" LIBS="-lbrotlicommon" LDFLAGS="-Wl,-rpath,${quictls_install_dir}/${lib_folder} -L${prebuilt_brotli_root}/lib -L${prebuilt_psl_root}/lib" ./configure --prefix=${curl_http3_dir} \
--with-zlib=$prebuilt_zlib_root \
--with-libps=$prebuilt_psl_root \
--with-zstd=$prebuilt_zstd_root \
--with-openssl=$quictls_install_dir \
--with-nghttp3=$nghttp3_install_dir \
--with-ngtcp2=$ngtcp_install_dir \
--with-nghttp2=$prebuilt_nghttp2_root \
--with-brotli=$prebuilt_brotli_root \
--enable-ares=$prebuilt_c_ares_root \
--with-pic \
--disable-shared \
--enable-pthreads \
Expand Down
Empty file modified scripts/functions.sh
100644 → 100755
Empty file.

0 comments on commit bad7356

Please sign in to comment.