Commit be2688de authored by Nigel Stewart's avatar Nigel Stewart
Browse files

For mingw32 cross-builds, link msvcrt library for malloc, free, etc

parent 8b0b5db9
......@@ -9,7 +9,7 @@ CC := i686-w64-mingw32-gcc
LD := i686-w64-mingw32-ld
LN :=
STRIP :=
LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32
LDFLAGS.GL = -lopengl32 -lgdi32 -lmsvcrt -luser32 -lkernel32
WARN = -Wall -W
POPT = -O2
BIN.SUFFIX = .exe
......
......@@ -10,7 +10,7 @@ CC := $(HOST)-gcc
LD := $(HOST)-ld
LN :=
STRIP :=
LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32
LDFLAGS.GL = -lopengl32 -lgdi32 -lmsvcrt -luser32 -lkernel32
WARN = -Wall -W
POPT = -O2
BIN.SUFFIX = .exe
......
......@@ -10,7 +10,7 @@ CC := $(HOST)-gcc
LD := $(HOST)-ld
LN :=
STRIP :=
LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32
LDFLAGS.GL = -lopengl32 -lgdi32 -lmsvcrt -luser32 -lkernel32
WARN = -Wall -W
POPT = -O2
BIN.SUFFIX = .exe
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment