Commit ce7fea3a authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Merge pull request #65 from davidkennedy85/master

Update GetLibLuaPostBuildCmd.ps1
parents ebd7ce25 a81ad463

if( [System.IntPtr]::Size -ne 8) {
$arch = "x86\*.*"
} else {
if ([System.IntPtr]::Size -eq 8) {
$arch = "x64\*.*"
} elseif (([System.IntPtr]::Size -eq 4) -and (Test-Path Env:\PROCESSOR_ARCHITEW6432)) {
$arch = "x64\*.*"
} elseif ([System.IntPtr]::Size -eq 4) {
$arch = "x86\*.*"
}
$nativePath = $(Join-Path $installPath "lib\native")
......

if( [System.IntPtr]::Size -ne 8) {
$arch = "x86\*.*"
} else {
if ([System.IntPtr]::Size -eq 8) {
$arch = "x64\*.*"
} elseif (([System.IntPtr]::Size -eq 4) -and (Test-Path Env:\PROCESSOR_ARCHITEW6432)) {
$arch = "x64\*.*"
} elseif ([System.IntPtr]::Size -eq 4) {
$arch = "x86\*.*"
}
$nativePath = $(Join-Path $installPath "lib\native")
......

if( [System.IntPtr]::Size -ne 8) {
$arch = "x86\*.*"
} else {
if ([System.IntPtr]::Size -eq 8) {
$arch = "x64\*.*"
} elseif (([System.IntPtr]::Size -eq 4) -and (Test-Path Env:\PROCESSOR_ARCHITEW6432)) {
$arch = "x64\*.*"
} elseif ([System.IntPtr]::Size -eq 4) {
$arch = "x86\*.*"
}
$nativePath = $(Join-Path $installPath "lib\native")
......
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