Skip to content

Commit 45324ee

Browse files
authored
Merge pull request #1 from bsiegert/netbsd
Support for more BSDs
2 parents 1551af1 + e2784d6 commit 45324ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ impl Build {
8787
_ if target.contains("freebsd") => {
8888
config.define("LUA_USE_LINUX", None);
8989
}
90+
_ if target.contains("netbsd") => {
91+
config.define("LUA_USE_LINUX", None);
92+
}
93+
_ if target.contains("openbsd") => {
94+
config.define("LUA_USE_LINUX", None);
95+
}
9096
_ if target.contains("apple-darwin") => {
9197
match version {
9298
Lua51 => config.define("LUA_USE_LINUX", None),

0 commit comments

Comments
 (0)