Don't attempt to install libluajit.so on Windows
This commit is contained in:
parent
87ddca66bd
commit
2a45fc7980
@ -660,7 +660,7 @@ class LuaJIT(Lua):
|
|||||||
dll_file = None
|
dll_file = None
|
||||||
|
|
||||||
if os.name == "nt":
|
if os.name == "nt":
|
||||||
self.arch_file = "lua51.lib"
|
arch_file = "lua51.lib"
|
||||||
target_arch_file = "lua51.lib"
|
target_arch_file = "lua51.lib"
|
||||||
dll_file = "lua51.dll"
|
dll_file = "lua51.dll"
|
||||||
|
|
||||||
@ -673,6 +673,8 @@ class LuaJIT(Lua):
|
|||||||
|
|
||||||
copy_files(os.path.join(opts.location, "lib"))
|
copy_files(os.path.join(opts.location, "lib"))
|
||||||
shutil.copy(arch_file, os.path.join(opts.location, "lib", target_arch_file))
|
shutil.copy(arch_file, os.path.join(opts.location, "lib", target_arch_file))
|
||||||
|
|
||||||
|
if os.name != "nt":
|
||||||
shutil.copy(so_file, os.path.join(opts.location, "lib", target_so_file))
|
shutil.copy(so_file, os.path.join(opts.location, "lib", target_so_file))
|
||||||
|
|
||||||
jitlib_path = os.path.join(
|
jitlib_path = os.path.join(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user