crosscompiling works again

master
Steffen Pohle 2 years ago
parent c122133021
commit 59614436a2

@ -1,5 +1,5 @@
.SILENT: help
VERSION = 1.0.1
VERSION = 1.0.2
-include Makefile.rules

@ -2,10 +2,16 @@
CROSS_DEST_DIR=/opt/W64-cross-compile/lib
CROSS_COMPILER_DIR=/usr/x86_64-w64-mingw32/lib
CROSS_GCC_DIR=/usr/lib/gcc/x86_64-w64-mingw32/10-win32
#
# in case of issues, check the path
# ls -la /usr/lib/gcc/x86_64-w64-mingw32/
#
CROSS_GCC_DIR=/usr/lib/gcc/x86_64-w64-mingw32/12-win32
cp -v $CROSS_COMPILER_DIR/zlib1.dll ./
# copy dll dependencys
copy_dependency() {
local I
@ -35,5 +41,4 @@ copy_dependency() {
}
copy_dependency testmodbus-server.exe
copy_dependency testmodbus-client.exe

Loading…
Cancel
Save