Pass Options.config through to raylib's build.zig (#314)

All other options of `rl.Options` are passed through to raylib build, but `config` is not. This makes it impossible to pass special defines to raylib's build.
This commit is contained in:
Jan Polák 2026-04-03 12:33:42 +02:00 committed by GitHub
parent aefd26cac9
commit 0f16781145
Failed to generate hash of commit

View file

@ -31,6 +31,7 @@ fn getRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.buil
.opengl_version = options.opengl_version,
.android_api_version = options.android_api_version,
.android_ndk = options.android_ndk,
.config = options.config,
});
const raylib = raylib_dep.artifact("raylib");