File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ New-Item -Path $installDir -ItemType "directory" -Name "include"
1717New-Item - Path $installDir - ItemType " directory" - Name " share"
1818New-Item - Path $installDir - ItemType " directory" - Name " jit"
1919
20- git clone https:// luajit.org/ git/ luajit.git LuaJIT_src
21-
22- Set-Location " LuaJIT_src"
20+ Invoke-WebRequest - Uri " https://github.com/LuaJIT/LuaJIT/archive/refs/tags/v2.1.ROLLING.tar.gz" - OutFile " LuaJIT.tar.gz"
21+ tar - xzvf " LuaJIT.tar.gz"
22+ Remove-Item " LuaJIT.tar.gz"
23+ Set-Location " LuaJIT-2.1.ROLLING"
2324
2425mingw32-make.exe
2526
@@ -34,4 +35,4 @@ Copy-Item "src\luajit.exe" -Destination "$($installDir)\bin"
3435Copy-Item " src\lua51.dll" - Destination " $ ( $installDir ) \bin"
3536
3637Set-Location " $ ( $pwd.Path ) \.."
37- Remove-Item - Recurse - Force " LuaJIT_src "
38+ Remove-Item - Recurse - Force " LuaJIT-2.1.ROLLING "
You can’t perform that action at this time.
0 commit comments