mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
added winres
This commit is contained in:
parent
8ebbb54504
commit
53858cfb3d
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
# the system and within the PATH. This is ran currently by Appveyor (see
|
||||
# appveyor.yml in the repository root) for both x86 and x64.
|
||||
#
|
||||
# Author: Neil Alexander <neilalexander@users.noreply.github.com>
|
||||
# Author: Neil Alexander <neilalexander@users.noreply.github.com>, Vadym Vikulin <vadym.vikulin@rivchain.org>
|
||||
|
||||
# Get arch from command line if given
|
||||
PKGARCH=$1
|
||||
|
@ -46,7 +46,9 @@ then
|
|||
exit 1
|
||||
)
|
||||
fi
|
||||
|
||||
#install go-winres
|
||||
go install github.com/tc-hib/go-winres@latest
|
||||
go-winres init
|
||||
# Build Mesh!
|
||||
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ LDFLAGS="-H windowsgui" ./build
|
||||
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ LDFLAGS="-H windowsgui" ./build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue