1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Bug 515305 - Fix 32-bit serial port dll

It was depending on the libgcc dll. Changed to link it
statically.

Change-Id: Ifd8610c78d3861f3c4cd82fde3bb47f5c3afe594
This commit is contained in:
Doug Schaefer 2017-11-30 10:33:44 -05:00
parent d0e528d135
commit 89d45ef7fd
2 changed files with 1 additions and 1 deletions

View file

@ -43,7 +43,7 @@ rebuild: clean all
$(OS_DIR)/win32/x86/serial.dll: serial.c
mkdir -p $(dir $@)
i686-w64-mingw32-gcc -Wl,--kill-at -I"$(JAVA_HOME)/include" -I"$(JAVA_HOME)/include/win32" -shared -o $@ serial.c
i686-w64-mingw32-gcc -Wl,--kill-at -static-libgcc -I"$(JAVA_HOME)/include" -I"$(JAVA_HOME)/include/win32" -shared -o $@ serial.c
$(OS_DIR)/win32/x86_64/serial.dll: serial.c
mkdir -p $(dir $@)