mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-24 06:45:07 +00:00
For mingw32 cross-builds, link msvcrt library for malloc, free, etc
This commit is contained in:
parent
da0893b17a
commit
84e6c95850
@ -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