Skip to content

Commit

Permalink
Add includes to Windows Makevars files
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurdoch committed Nov 18, 2024
1 parent 08581fe commit 6a89e2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Makevars.ucrt
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
4 changes: 2 additions & 2 deletions src/Makevars.win.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \
Expand All @@ -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
Expand Down

0 comments on commit 6a89e2a

Please sign in to comment.