Browse Source

wind0ze cross-compile tweaks

onryo
fekt 1 year ago
parent
commit
2e11d6164b
  1. BIN
      res/libsodium.a
  2. 13
      win-static-build.sh

BIN
res/libsodium.a

Binary file not shown.

13
win-static-build.sh

@ -1,7 +1,5 @@
#!/bin/bash
# Copyright 2019 The Hush Developers
# Copyright 2019-2023 The Hush Developers
VERSION=$(cat src/version.h |cut -d\" -f2)
echo "Compiling SilentDragonLite $VERSION .exe with $JOBS threads..."
@ -11,14 +9,19 @@ set -e
echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
CC_x86_64_pc_windows_gnu="x86_64-w64-mingw32.static-gcc"
PATH="/home/$USER/git/mxe/usr/bin:${PATH}"
mkdir release
if [ ! -d "release" ]
then
mkdir release
fi
cp src/precompiled.h release/
qbuild () {
/home/$USER/git/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt5 $CONF CONFIG+=release
#lupdate $CONF
#lrelease $CONF
make -j$JOBS
make -j2
}
if [ "$1" == "clean" ]; then

Loading…
Cancel
Save