Skip to content

Commit 85780d1

Browse files
committed
Better NetBSD support
Close #18
1 parent 335bc1e commit 85780d1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ impl Build {
136136
_ if target.contains("linux") => {
137137
config.define("LUA_USE_LINUX", None);
138138
}
139-
_ if target.ends_with("bsd") || target.contains("dragonfly") => {
139+
_ if target.ends_with("bsd")
140+
|| target.contains("netbsd")
141+
|| target.contains("dragonfly") =>
142+
{
140143
config.define("LUA_USE_LINUX", None);
141144
}
142145
_ if target.ends_with("illumos") => {

0 commit comments

Comments
 (0)