mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
For mingw32 cross-builds, link msvcrt library for malloc, free, etc
This commit is contained in:
parent
8b0b5db90c
commit
be2688de70
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user