浏览代码

build.zig: Fix a minor issue with `-Dconfig` (#4418)

pull/4421/head
Sage Hane 5 个月前
committed by GitHub
父节点
当前提交
53f7da2506
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      build.zig

+ 1
- 0
build.zig 查看文件

@ -116,6 +116,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
// `n` corresponds to the number of user-specified flags
outer: for (config_h_flags) |flag| {
// If a user already specified the flag, skip it
config_iter.reset();
while (config_iter.next()) |config_flag| {
// For a user-specified flag to match, it must share the same prefix and have the
// same length or be followed by an equals sign

正在加载...
取消
保存