Skip to content

Commit

Permalink
install the right packages
Browse files Browse the repository at this point in the history
  • Loading branch information
phendryx committed Dec 27, 2022
1 parent 5bf9c04 commit fd0f78c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion scripts/build-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@

set -eo pipefail

sudo apt update && sudo apt install -y nsis nsis-pluginapi wine wine32
# sudo apt update && sudo apt install -y nsis nsis-pluginapi wine wine32

sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
ca-certificates \
wget \
git \
ssh \
mingw-w64 \
nsis \
wine-stable \
wine32

export CGO_CPPFLAGS="-I $GOPATH/src/github.com/broderickhyman/albiondata-client/thirdparty/WpdPack/Include/"
export CGO_LDFLAGS="-L $GOPATH/src/github.com/broderickhyman/albiondata-client/thirdparty/WpdPack/Lib/x64/"
Expand Down

0 comments on commit fd0f78c

Please sign in to comment.