support luajit version 2.0.4

This commit is contained in:
zhangjingqiang 2022-04-13 13:36:45 +08:00
parent c85616137a
commit 75697e3a3b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ pub fn probe_lua() -> Option<PathBuf> {
#[cfg(feature = "luajit")]
{
let lua = pkg_config::Config::new()
.range_version((Bound::Included("2.0.5"), Bound::Unbounded))
.range_version((Bound::Included("2.0.4"), Bound::Unbounded))
.cargo_metadata(need_lua_lib)
.probe("luajit");