#!/usr/bin/make -f 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 -- \ --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 oh-fixperms oh-strip oh-installfiles oh-shlibdeps