summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild56
1 files changed, 53 insertions, 3 deletions
diff --git a/build b/build
index e2e1bfe..9efb9c0 100755
--- a/build
+++ b/build
@@ -5,16 +5,66 @@ include ../source.mk
nop:
@:
+# Should use "--with-ca-path=/etc/x509/server-auth" instead "--with-ca-bundle",
+# but "--with-ca-path only works with OpenSSL, GnuTLS or mbedTLS".
build:
- oh-autoconfigure
+ oh-autoconfigure -- \
+ --enable-werror \
+ --disable-ares \
+ --disable-ech \
+ --enable-shared \
+ --disable-static \
+ --disable-ldap \
+ --disable-ldaps \
+ --disable-rtsp \
+ --disable-dict \
+ --disable-telnet \
+ --disable-tftp \
+ --disable-pop3 \
+ --disable-imap \
+ --disable-smb \
+ --disable-smtp \
+ --disable-gopher \
+ --disable-mqtt \
+ --disable-manual \
+ --disable-libcurl-option \
+ --disable-verbose \
+ --disable-unix-sockets \
+ --disable-doh \
+ --disable-mime \
+ --disable-dnsshuffle \
+ --disable-alt-svc \
+ --with-zlib \
+ --without-brotli \
+ --without-zstd \
+ --without-gssapi \
+ --without-ssl \
+ --without-gnutls \
+ --without-mbedtls \
+ --with-wolfssl \
+ --without-mesalink \
+ --without-bearssl \
+ --without-nss \
+ --with-ca-bundle=/usr/share/x509/server-auth/nss-certdata.pem \
+ --without-libpsl \
+ --without-libmetalink \
+ --without-libssh2 \
+ --without-libssh \
+ --without-wolfssh \
+ --without-libidn2 \
+ --without-nghttp2 \
+ --without-ngtcp2 \
+ --without-nghttp3 \
+ --without-quiche \
+ --without-zsh-functions-dir \
+ --without-fish-functions-dir
oh-autobuild
touch $@
install: build
oh-autoinstall
rm dest/usr/lib/$(OPK_HOST_ARCH)/libcurl.la
- rm dest/usr/bin/curl-config
- rm dest/usr/share/man/man1/curl-config.1
oh-fixperms
oh-strip
oh-installfiles
+ oh-shlibdeps