From ddb59a49fb0ece984d5d5d7408755fdd1ccb770c Mon Sep 17 00:00:00 2001 From: "Luke A. Guest" Date: Sat, 6 Jan 2024 16:48:39 +0000 Subject: [PATCH] Add a missing append for msys64. --- index/sd/sdlada/sdlada-2.5.19.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index/sd/sdlada/sdlada-2.5.19.toml b/index/sd/sdlada/sdlada-2.5.19.toml index 14ba9bb17..870072c6b 100644 --- a/index/sd/sdlada/sdlada-2.5.19.toml +++ b/index/sd/sdlada/sdlada-2.5.19.toml @@ -38,6 +38,11 @@ project-files = ["build/gnat/sdlada.gpr"] #, "build/gnat/"] libsdl2_mixer = "^2.0.0" make = "*" # Required for post-fetch actions +[environment.'case(distribution)'.msys2.C_INCLUDE_PATH] +# sdlada expects SDL2 headers to be in the C_INCLUDE_PATH but the option +# used in the project file ("-I/usr/include/SDL2") doesn't work with msys2 +append = "${DISTRIB_ROOT}/mingw64/include/SDL2" + [origin] commit = "41edea80d96bc3cfd4df200a2b0eea9dd66c85ba" url = "git+https://github.com/Lucretia/sdlada.git"