Commit a81ad463 authored by David Kennedy's avatar David Kennedy
Browse files

Update GetLibLuaPostBuildCmd.ps1

parent d97942c9
 
if( [System.IntPtr]::Size -ne 8) { if ([System.IntPtr]::Size -eq 8) {
$arch = "x86\*.*" $arch = "x64\*.*"
} else { } elseif (([System.IntPtr]::Size -eq 4) -and (Test-Path Env:\PROCESSOR_ARCHITEW6432)) {
$arch = "x64\*.*" $arch = "x64\*.*"
} elseif ([System.IntPtr]::Size -eq 4) {
$arch = "x86\*.*"
} }
$nativePath = $(Join-Path $installPath "lib\native") $nativePath = $(Join-Path $installPath "lib\native")
...@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch) ...@@ -10,4 +12,4 @@ $nativePath = $(Join-Path $nativePath $arch)
$LibLuaPostBuildCmd = " $LibLuaPostBuildCmd = "
xcopy /s /y `"$nativePath`" `"`$(TargetDir)`"" xcopy /s /y `"$nativePath`" `"`$(TargetDir)`""
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment