Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] Release on linux amd64 is the only one dynamically linked
We are using the tool from https://github.com/mitchellh/gox for cross compilation. When we issue a new release, we create a tag and trigger Travis build which will then invoke the script and upload the files to GH. We were affected by mitchellh/gox#55 Invoking the script on a Linux amd64 would produce this: file pkg/gnatsd-linux-amd64/gnatsd pkg/gnatsd-linux-amd64/gnatsd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped With the fix, you'll get this: file pkg/gnatsd-linux-amd64/gnatsd pkg/gnatsd-linux-amd64/gnatsd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped Resolves nats-io#470
- Loading branch information