We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec3c8c commit d48bc4aCopy full SHA for d48bc4a
1 file changed
build/lua.zig
@@ -52,6 +52,9 @@ pub fn configure(b: *Build, target: Build.ResolvedTarget, optimize: std.builtin.
52
53
// Enable api check
54
if (optimize == .Debug) "-DLUA_USE_APICHECK" else "",
55
+
56
+ // Build as DLL for windows if shared
57
+ if (target.result.os.tag == .windows and shared) "-DLUA_BUILD_AS_DLL" else "",
58
};
59
60
const lua_source_files = switch (lang) {
0 commit comments