From 4f814ff7619f8ee5296b6e557e19e3529744783f Mon Sep 17 00:00:00 2001 From: PegaFox Date: Fri, 24 Apr 2026 10:57:15 -0400 Subject: [PATCH] Remove unsupported operating systems --- build.zig | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/build.zig b/build.zig index 6af4ee4..43af11e 100644 --- a/build.zig +++ b/build.zig @@ -66,11 +66,6 @@ pub fn build(b: *Build) !void { t.root_module.link_libc = true; t.root_module.addIncludePath(lua_src.path("src")); switch (target.result.os.tag) { - .aix => { - t.root_module.addCMacro("LUA_USE_POSIX", ""); - t.root_module.addCMacro("LUA_USE_DLOPEN", ""); - t.linkSystemLibrary("dl"); - }, .freebsd, .netbsd, .openbsd => { t.root_module.addCMacro("LUA_USE_LINUX", ""); t.root_module.addCMacro("LUA_USE_READLINE", ""); @@ -93,12 +88,6 @@ pub fn build(b: *Build) !void { t.root_module.addCMacro("LUA_USE_READLINE", ""); t.linkSystemLibrary("readline"); }, - .solaris => { - t.root_module.addCMacro("LUA_USE_POSIX", ""); - t.root_module.addCMacro("LUA_USE_DLOPEN", ""); - t.root_module.addCMacro("_REENTRANT", ""); - t.linkSystemLibrary("dl"); - }, else => {}, } }