Skip to content

Commit 4697476

Browse files
authored
Merge pull request #20 from notpeter/illumos
Illumos: Support dynamic modules
2 parents 3c65a46 + 4ffbec7 commit 4697476

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)