Skip to content

Commit

Permalink
Partial Revert: "android: Resolve windows build issues"
Browse files Browse the repository at this point in the history
This partially reverts 00e2e6d for breaking the libuv build section.
  • Loading branch information
trevnorris committed Feb 2, 2023
1 parent 87e5e5a commit abade8b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bin/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Function Build {
Write-Output "ok - built libuv"

(New-Item -ItemType Directory -Force -Path "$WORKING_BUILD_PATH\lib") > $null
Copy-Item "$WORKING_BUILD_PATH\libuv\build\uv_a.lib" -Destination "$WORKING_BUILD_PATH\lib\uv_a.lib"
Copy-Item "$WORKING_BUILD_PATH\libuv\build\$LIBUV_BUILD_TYPE\uv_a.lib" -Destination "$WORKING_BUILD_PATH\lib\uv_a.lib"
if ($debug -eq $true) {
Copy-Item "$WORKING_BUILD_PATH\libuv\build\uv_a.pdb" -Destination "$WORKING_BUILD_PATH\lib\uv_a.pdb"
Copy-Item "$WORKING_BUILD_PATH\libuv\build\$LIBUV_BUILD_TYPE\uv_a.pdb" -Destination "$WORKING_BUILD_PATH\lib\uv_a.pdb"
}

(New-Item -ItemType Directory -Force -Path "$WORKING_BUILD_PATH\include") > $null
Expand Down Expand Up @@ -84,9 +84,6 @@ Function Install-Files {
(New-Item -ItemType Directory -Force -Path "$SRC_PATH") > $null
(New-Item -ItemType Directory -Force -Path "$INCLUDE_PATH") > $null

# install `.\build\uv\src`
Copy-Item -Path "$WORKING_BUILD_PATH\libuv\src" -Destination "$ASSET_PATH\uv\src" -Recurse -Force

# install `.\src\*`
Copy-Item -Path "$WORKING_PATH\src\*" -Destination "$SRC_PATH" -Recurse -Force -Container

Expand Down

0 comments on commit abade8b

Please sign in to comment.