From 9b32f7bf2d6e862bdddc6a501296738daa71e38f Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 22 Feb 2021 14:44:06 +0100 Subject: [PATCH] Fix example_null Makefile for Mingw (#2590) --- examples/example_null/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/example_null/Makefile b/examples/example_null/Makefile index edf0145e..d4159e4b 100644 --- a/examples/example_null/Makefile +++ b/examples/example_null/Makefile @@ -61,6 +61,7 @@ ifeq ($(findstring MINGW,$(UNAME_S)),MINGW) ECHO_MESSAGE = "MinGW" ifneq ($(WITH_EXTRA_WARNINGS), 0) CXXFLAGS += -Wextra -Wpedantic + LIBS += -limm32 endif CFLAGS = $(CXXFLAGS) endif