Skip to content

Commit

Permalink
fix: more cross compilation stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 22, 2024
1 parent 6ec068c commit 64f5f05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
run: |
sudo apt-get install -y \
libc6:armhf \
libc6-dev:armhf \
libapparmor1:armhf \
libwebkit2gtk-4.1-dev:armhf \
libssl-dev:armhf \
Expand All @@ -134,6 +135,7 @@ jobs:
run: |
sudo apt-get install -y \
libc6:arm64 \
libc6-dev:arm64 \
libapparmor1:arm64 \
libwebkit2gtk-4.1-dev:arm64 \
libssl-dev:arm64 \
Expand All @@ -158,7 +160,6 @@ jobs:
env:
CC: arm-linux-gnueabihf-gcc
CXX: arm-linux-gnueabihf-g++
PKG_CONFIG_SYSROOT_DIR: /usr/
PKG_CONFIG_PATH: /usr/lib/arm-linux-gnueabihf/pkgconfig

- name: (Linux ARM64) Build Webkit extension
Expand All @@ -167,7 +168,6 @@ jobs:
env:
CC: aarch64-linux-gnu-gcc
CXX: aarch64-linux-gnu-g++
PKG_CONFIG_SYSROOT_DIR: /usr/
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/extension_webkit/toolchain-arm64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(CMAKE_SYSTEM_PROCESSOR aarch64)
# Cross-compilation toolchain
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
set(CMAKE_SYSROOT /usr/lib/aarch64-linux-gnu)
# set(CMAKE_SYSROOT /usr/lib/aarch64-linux-gnu)

# Library paths
set(CMAKE_FIND_ROOT_PATH /usr/lib/aarch64-linux-gnu)
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/extension_webkit/toolchain-armv7.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(CMAKE_SYSTEM_PROCESSOR arm)
# Cross-compilation toolchain
set(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
set(CMAKE_CXX_COMPILER arm-linux-gnueabihf-g++)
set(CMAKE_SYSROOT /usr/lib/arm-linux-gnueabihf)
# set(CMAKE_SYSROOT /usr/lib/arm-linux-gnueabihf)

# Library paths
set(CMAKE_FIND_ROOT_PATH /usr/lib/arm-linux-gnueabihf)
Expand Down

0 comments on commit 64f5f05

Please sign in to comment.