From 6a89e2af5f07206cd6afe4537e80b702aa36257a Mon Sep 17 00:00:00 2001 From: Duncan Murdoch Date: Mon, 18 Nov 2024 08:11:25 -0500 Subject: [PATCH] Add includes to Windows Makevars files --- src/Makevars.ucrt | 2 +- src/Makevars.win.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makevars.ucrt b/src/Makevars.ucrt index 11f9a01ab..f50cde32f 100644 --- a/src/Makevars.ucrt +++ b/src/Makevars.ucrt @@ -1,6 +1,6 @@ PKG_LIBS = -lgdi32 -lopengl32 -lglu32 PKG_CPPFLAGS = \ - -DHAVE_PNG_H -DHAVE_FREETYPE -DR_NO_REMAP -Iext -Iext/ftgl -Iext/glad/include \ + -DHAVE_PNG_H -DHAVE_FREETYPE -DR_NO_REMAP -Iext -Iext/ftgl -Iext/glad/include -Iext/earcut \ -DRGL_W32 ifeq (,$(shell pkg-config --version 2>/dev/null)) diff --git a/src/Makevars.win.in b/src/Makevars.win.in index eef9e0143..969f65ff9 100644 --- a/src/Makevars.win.in +++ b/src/Makevars.win.in @@ -3,7 +3,7 @@ PKG_CPPFLAGS = \ -DHAVE_PNG_H -DHAVE_FREETYPE -DR_NO_REMAP -Iext -Iext/ftgl -Iext/glad/include \ - -I$(LOCAL_SOFT)/include/freetype2 \ + -I$(LOCAL_SOFT)/include/freetype2 -Iext/earcut \ -DRGL_W32 PKG_LIBS = \ @@ -19,7 +19,7 @@ PKG_LIBS = \ @HIDE_IF_R42PLUS@ PKG_CPPFLAGS = \ @HIDE_IF_R42PLUS@ -DHAVE_PNG_H -DHAVE_FREETYPE -DR_NO_REMAP -Iext -Iext/ftgl \ @HIDE_IF_R42PLUS@ -I$(RWINLIB)/include -I$(RWINLIB)/include/freetype2 \ -@HIDE_IF_R42PLUS@ -Iext/glad/include +@HIDE_IF_R42PLUS@ -Iext/glad/include -Iext/earcut @HIDE_IF_R42PLUS@ PKG_LIBS = -L$(RWINLIB)/lib$(R_ARCH) \ @HIDE_IF_R42PLUS@ -lfreetype -lpng -lz -lgdi32 -lopengl32 -lglu32