alexcrichton / xz2-rs

Bindings to liblzma in Rust (xz streams in Rust)
Apache License 2.0
81 stars 52 forks source link

static build on MacOS? #101

Open jianshu93 opened 1 year ago

jianshu93 commented 1 year ago

Hello Team,

by default lzma-sys was compiled in a dynamic way on MacOS (static on Linux), any idea how to do it in a static way on MacOS? Or it is just not supported to build statically on MacOS (this happens a lot for other libraries).

Thanks,

Jianshu