Examples: Fix MinGW detection in makefiles. Fix example_null build due to missing IME input libs. (#2590)

This commit is contained in:
Rokas Kupstys
2021-02-24 10:26:13 +02:00
committed by ocornut
parent 9b32f7bf2d
commit 3f5bb5939a
8 changed files with 14 additions and 14 deletions

View File

@ -40,7 +40,7 @@ ifeq ($(UNAME_S), Darwin) #APPLE
CFLAGS = $(CXXFLAGS)
endif
ifeq ($(findstring MINGW,$(UNAME_S)),MINGW)
ifeq ($(OS), Windows_NT)
ECHO_MESSAGE = "MinGW"
LIBS += -lgdi32 -lopengl32 -limm32
ifeq ($(shell pkg-config freeglut --exists 2> /dev/null && echo yes || echo no),yes)