[luajit] The generated <triplet>\tools\luajit.exe
is broken on Windows.
#43367
Labels
category:port-bug
The issue is with a library, which is something the port should already support
Describe the bug
The
luajit.exe
tool does not have access to its own modules on Windows, which breaks most of its extended functionality.I assume this is because vcpkg_copy_tools(luajit) does not copy the
src\jit
modules to the<triplet>\tools\luajit\
directory as required when Installing LuaJIT on Windows. Attempting to use any of the modules, including the arguably most crucial module -b, results in an error.Environment
To Reproduce
Steps to reproduce the behavior:
luajit
dependency.luajit
for <triplet>.<x-install-root>\<triplet>\tools\luajit.exe -b
Expected behavior
In the simplest use case, it should return a usage message like this:
Instead, it returns this error:
Failure logs
n/a
Additional context
To fix this, it seems
portfile.cmake
should only need to copysrc\jit
to the same location asluajit.exe
is copied.The text was updated successfully, but these errors were encountered: