diff --git a/Makefile b/Makefile index 9f22315..fb4cabc 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,8 @@ buildwindows: clean ./copydlls.sh ./copydlls.sh ./copyshare.sh + cp /usr/lib/gcc/x86_64-w64-mingw32/13-win32/*.dll TestModbus-Client-$(VERSION)/ + for i in `ldd TestModbus-Client.exe |grep -vi "/c/windows" | cut -d" " -f3`; do cp $$i TestModbus-Client-$(VERSION)/; done mv *.dll TestModbus-Client-$(VERSION)/ mv share TestModbus-Client-$(VERSION)/ zip -r TestModbus-Client-$(VERSION)-win.zip TestModbus-Client-$(VERSION)/