moparisthebest / static-curl

fully static builds of curl, runs anywhere
https://code.moparisthebest.com/moparisthebest/static-curl
MIT License
497 stars 30 forks source link

musl example #4

Open secwang opened 2 years ago

secwang commented 2 years ago

seem like we can replace clang to musl-gcc to build a musl based static curl.should we add this to readme

gowthamsadasivam commented 1 year ago

@secwang Could you please elaborate on this?

Do you mean replacing the clang in line number 35 of the file build.sh like shown below:

from

apk add build-base clang openssl-dev nghttp2-dev nghttp2-static libssh2-dev libssh2-static

to

apk add build-base clang openssl-dev nghttp2-dev nghttp2-static libssh2-dev libssh2-static

Will build a musl based static curl?