Skip to content

Commit

Permalink
mingw builds seem to require libgcc now (missing __udivdi3)
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Dec 27, 2022
1 parent ae404ad commit 9e1afdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CFLAGS = -O3 -Wall
LDFLAGS = -nostdlib -shared -Wl,--no-undefined -Wl,--enable-auto-image-base -Wl,--out-implib,$(LIB)
LDLIBS = -lkernel32 -luser32
# libgcc is needed for 32 bit (x86) builds:
#LDLIBS += -static-libgcc -lgcc
LDLIBS += -static-libgcc -lgcc

LIB = libSDL2.dll.a
DLL = SDL2.dll
Expand Down

0 comments on commit 9e1afdf

Please sign in to comment.