Skip to content

Commit

Permalink
Check for lib64
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Aug 17, 2024
1 parent e994296 commit 2b84124
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions windows-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ if ($LASTEXITCODE -ne 0) { throw "cmake --build failed with exit code $LASTEXITC

Write-Host ":: Packaging ${output}"

# Dump the entire tree of files in $WebKitBuild to the console.
# This is useful for debugging.
Get-ChildItem -Recurse $WebKitBuild | Format-List -Force | Out-String | Write-Host

Remove-Item -Recurse -ErrorAction SilentlyContinue $output
$null = mkdir -ErrorAction SilentlyContinue $output
$null = mkdir -ErrorAction SilentlyContinue $output/include
Expand All @@ -237,6 +241,11 @@ $null = mkdir -ErrorAction SilentlyContinue $output/include/wtf
Copy-Item -Recurse $WebKitBuild/lib $output
Copy-Item -Recurse $WebKitBuild/bin $output

# If there's a lib64, also copy it.
if (Test-Path -Path $WebKitBuild/lib64) {
Copy-Item -Recurse $WebKitBuild/lib64/* $output/lib
}

Copy-Item $WebKitBuild/cmakeconfig.h $output/include/cmakeconfig.h

if ($CMAKE_BUILD_TYPE -eq "Release") {
Expand Down

0 comments on commit 2b84124

Please sign in to comment.