mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-20 20:22:46 +00:00
make go build use static-link mode
depends changed! e.g. before: `header-file.h` and `shared-library.so` after: `header-file.h` and `archive-libraries.a`
This commit is contained in:
parent
3809df6cfb
commit
669b768f67
2
Makefile
2
Makefile
@ -1,4 +1,4 @@
|
|||||||
LDFLAGS="-X main.buildstamp=`date -u '+%s'` -X main.githash=`git rev-parse HEAD`"
|
LDFLAGS="-X main.buildstamp=`date -u '+%s'` -X main.githash=`git rev-parse HEAD` -linkmode 'external' -extldflags '-static'"
|
||||||
|
|
||||||
all: get tunasync tunasynctl
|
all: get tunasync tunasynctl
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user