mirror of
https://github.com/allyourcodebase/lua.git
synced 2026-05-01 11:17:58 +02:00
Remove unsupported operating systems
This commit is contained in:
parent
968b1a5b69
commit
4f814ff761
1 changed files with 0 additions and 11 deletions
11
build.zig
11
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 => {},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue