Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac M1 常用软件编译 #30

Open
zhangjunlei26 opened this issue Feb 24, 2022 · 0 comments
Open

Mac M1 常用软件编译 #30

zhangjunlei26 opened this issue Feb 24, 2022 · 0 comments

Comments

@zhangjunlei26
Copy link
Owner

安装curl 以避免无法远程开发

export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"

./configure --prefix=/opt/tools/curl-7.76.1 \
--enable-optimize --enable-http --enable-ftp --enable-file --enable-proxy --enable-dict --enable-telnet \
--enable-tftp --enable-smtp --enable-gopher --enable-mqtt --enable-manual --enable-libcurl-option \
--enable-openssl-auto-load-config --enable-versioned-symbols --enable-threaded-resolver \
--enable-pthreads --enable-verbose --enable-sspi --enable-unix-sockets --enable-cookies --enable-socketpair \
--enable-http-auth --enable-doh --enable-mime --enable-dateparse --enable-netrc --enable-progress-meter \
--enable-dnsshuffle --enable-hsts --with-amissl  --with-bearssl  --with-gnutls  --with-mbedtls  --with-mesalink \
  --with-nss  --with-openssl --with-schannel  --with-secure-transport  --with-wolfssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant