From 083b9e5d0c0ef7a0e7388b5d2dd69e90490fbaae Mon Sep 17 00:00:00 2001 From: Will Hedgecock Date: Wed, 29 Dec 2021 22:09:58 -0600 Subject: [PATCH] Link Window DLL with Console subsystem --- src/main/c/Windows/Makefile | 4 ++-- .../resources/Windows/aarch64/jSerialComm.dll | Bin 83456 -> 83456 bytes .../resources/Windows/armv7/jSerialComm.dll | Bin 71168 -> 71168 bytes .../resources/Windows/x86/jSerialComm.dll | Bin 83968 -> 83968 bytes .../resources/Windows/x86_64/jSerialComm.dll | Bin 88064 -> 88064 bytes 5 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/c/Windows/Makefile b/src/main/c/Windows/Makefile index 5764237..ae2dceb 100644 --- a/src/main/c/Windows/Makefile +++ b/src/main/c/Windows/Makefile @@ -3,8 +3,8 @@ COMPILE_X86 := i686-w64-mingw32-gcc COMPILE_X64 := x86_64-w64-mingw32-gcc COMPILE_ARM := armv7-w64-mingw32-gcc COMPILE_ARM64 := aarch64-w64-mingw32-gcc -CFLAGS := -Os -flto -static-libgcc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -LDFLAGS := -Os -flto -static-libgcc -shared -fuse-linker-plugin -s +CFLAGS := -Os -flto -static-libgcc -mdll -mconsole -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 +LDFLAGS := -Os -flto -static-libgcc -mconsole -shared -fuse-linker-plugin -s INCLUDES := -I"$(JDK_HOME)/include" -I"$(JDK_HOME)/include/win32" -I"$(JDK_HOME)/include/linux" -I"$(JDK_HOME)/include/darwin" -I"$(JDK_HOME)/include/solaris" LIBRARIES := -ladvapi32 -lsetupapi DELETE := @rm diff --git a/src/main/resources/Windows/aarch64/jSerialComm.dll b/src/main/resources/Windows/aarch64/jSerialComm.dll index 8ea07775305676d2b066523105fea308cc056a73..6643463cc820e08164a0ff084468181587598c38 100644 GIT binary patch delta 24 gcmZqZVQuJPozTF1-QeuR=0HZ~#;aSeGHSa50DBV&!~g&Q delta 24 gcmZqZVQuJPozTGijA`%0=0HZK#;aSeGHSa50C<=QlmGw# diff --git a/src/main/resources/Windows/armv7/jSerialComm.dll b/src/main/resources/Windows/armv7/jSerialComm.dll index 0cedcabe3f3add56074062676fc550e5fa7ba376..92082efd3b12b827efd28f91d7ca204e8a7390c0 100644 GIT binary patch delta 24 gcmZoz!_u&ZWkLhMKWn*$k{8n14>%BU?00DX`Np#T5? diff --git a/src/main/resources/Windows/x86/jSerialComm.dll b/src/main/resources/Windows/x86/jSerialComm.dll index 0abf7ec6837a6e232f210da5c9aa826a8837e700..74758d013a9dbed25b6784a88440e309d7ba6327 100644 GIT binary patch delta 24 gcmZpez}hf@bwUI4b%V1Ln*$k{8?SD?%BbxQ0DHj+&Hw-a delta 24 gcmZpez}hf@bwUI46Q;crn*$k{8n14>%BbxQ0C^}0oB#j- diff --git a/src/main/resources/Windows/x86_64/jSerialComm.dll b/src/main/resources/Windows/x86_64/jSerialComm.dll index 5dc210235d63d946b88dc05a8876a21befffe5ec..1790be7af19a318f2f380d1bf03c2df72b4dec2c 100644 GIT binary patch delta 24 gcmZqJz}m2ZbwUI4b%V1Ln*$k{8?SD?%BUR<0D&MKWn*$k{8n14>%BUR<0Dh+l?EnA(