Skip to content

Commit 8d03616

Browse files
committed
Add support for building on illumos and Solaris
1 parent 5be36b6 commit 8d03616

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ impl Build {
139139
_ if target.ends_with("bsd") => {
140140
config.define("LUA_USE_LINUX", None);
141141
}
142+
_ if target.ends_with("illumos") => {
143+
config.define("LUA_USE_POSIX", None);
144+
}
145+
_ if target.ends_with("solaris") => {
146+
config.define("LUA_USE_POSIX", None);
147+
}
142148
_ if target.contains("apple-darwin") => {
143149
match version {
144150
Lua51 => config.define("LUA_USE_LINUX", None),

0 commit comments

Comments
 (0)