Skip to content

Commit 4ffbec7

Browse files
committed
Support dynamic requires on Illumos
1 parent 3c65a46 commit 4ffbec7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/lib.rs‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ impl Build {
145145
config.define("LUA_USE_LINUX", None);
146146
}
147147
_ if target.ends_with("illumos") => {
148-
config.define("LUA_USE_POSIX", None);
148+
config
149+
.define("LUA_USE_POSIX", None)
150+
.define("LUA_USE_DLOPEN", None);
149151
}
150152
_ if target.ends_with("solaris") => {
151153
config.define("LUA_USE_POSIX", None);

0 commit comments

Comments
 (0)