summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makerules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index 37f633e1..da9f115d 100644
--- a/Makerules
+++ b/Makerules
@@ -245,6 +245,9 @@ CROSSCOMPILE=yes
endif
ifeq "$(OS)" "MINGW"
+CC=gcc
+# Add flags required for Harfbuzz because of missing strdup
+CFLAGS+= -U__STRICT_ANSI__
WIN32_LIBS=-lcomdlg32 -lgdi32
HAVE_WIN32=yes
LDFLAGS += -Wl,-subsystem,windows