un-nest curl
This commit is contained in:
10
build.sh
10
build.sh
@@ -422,20 +422,20 @@ build_curl() {
|
||||
fi
|
||||
|
||||
print_info "Building curl..."
|
||||
if [ ! -d "curl-8.15.0/curl-8.15.0" ]; then
|
||||
print_error "curl-8.15.0/curl-8.15.0 source directory not found"
|
||||
if [ ! -d "curl-8.15.0" ]; then
|
||||
print_error "curl-8.15.0 source directory not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
(cd curl-8.15.0/curl-8.15.0 && \
|
||||
(cd curl-8.15.0 && \
|
||||
./configure --disable-shared --enable-static \
|
||||
--with-openssl="$(pwd)/../../openssl-install" \
|
||||
--with-openssl="$(pwd)/../openssl-install" \
|
||||
--without-libpsl --without-brotli \
|
||||
--disable-ldap --disable-ldaps --disable-rtsp --disable-proxy \
|
||||
--disable-dict --disable-telnet --disable-tftp --disable-pop3 \
|
||||
--disable-imap --disable-smb --disable-smtp --disable-gopher \
|
||||
--disable-manual \
|
||||
--prefix="$(pwd)/../../curl-install" && \
|
||||
--prefix="$(pwd)/../curl-install" && \
|
||||
make -j$(nproc) && \
|
||||
make install) || { print_error "Failed to build curl"; exit 1; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user