BlockchainCommons / seedtool-cli

Cryptographic Seed Tool for the command line
Other
29 stars 16 forks source link

Can't build a static executable #46

Open secinthenet opened 3 years ago

secinthenet commented 3 years ago

Static executables are great for easy deployment in air gapped machines, like a laptop running Tails, so I think they should be supported, if not the default. I tried to build using something like CFLAGS="-static" CXXFLAGS="-static" LDFLAGS="-static" ./build.sh, but it fails because libgcc_s.a doesn't exist, only libgcc_s.so.

wolfmcnally commented 3 years ago

@gorazdko I believe this has to do with Linux builds, would you comment on this?

wolfmcnally commented 3 years ago

@secinthenet Would you care to submit a PR?

secinthenet commented 3 years ago

I don't know how to fix this, I'll need to dig into this