wind0ze cross-compile tweaks
This commit is contained in:
BIN
res/libsodium.a
Normal file
BIN
res/libsodium.a
Normal file
Binary file not shown.
13
win-static-build.sh
Normal file → Executable file
13
win-static-build.sh
Normal file → Executable file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user