mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
2ac5ee019e
- Add Conan to default.nix - Integrate Qt5 Nix package (with forked repo for new QtWebView module) - Fix rpaths in macOS and Linux - Add Nix expressions to install nsis, appimagekit and linuxdeployqt
20 lines
305 B
Bash
Executable File
20 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export GOROOT=$2
|
|
export GOPATH=$3
|
|
export PATH=$GOROOT/bin:$GOROOT:$GOPATH:$PATH
|
|
if [ "$1" = 'Windows' ]; then
|
|
export GOOS=windows
|
|
export GOARCH=amd64
|
|
export CGO_ENABLED=1
|
|
fi
|
|
export CC=$5
|
|
export CC_FOR_TARGET=$5
|
|
export CXX_FOR_TARGET=$6
|
|
|
|
cd $4/lib
|
|
go get ./
|
|
cd ..
|
|
|
|
make statusgo-library
|