We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c363fb9 commit 8add60bCopy full SHA for 8add60b
build/find_normal.rs
@@ -17,7 +17,7 @@ pub fn probe_lua() -> PathBuf {
17
let need_lua_lib = cfg!(any(not(feature = "module"), target_os = "windows"));
18
19
if include_dir != "" && (!need_lua_lib || lib_dir != "") {
20
- if lua_lib == "" {
+ if need_lua_lib && lua_lib == "" {
21
panic!("LUA_LIB_NAME is not set");
22
}
23
let _version = use_custom_lua(&include_dir, &lib_dir, &lua_lib).unwrap();
0 commit comments