From 6bc817172d2d79af7ec64ef2e71e327a66187e44 Mon Sep 17 00:00:00 2001 From: Alexandr Bogomiakov Date: Thu, 24 Jul 2025 03:29:36 +0300 Subject: [PATCH] Fix Release action --- .github/workflows/main.yml | 4 ---- Cargo.toml | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b58d4c..5bab7f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -95,10 +95,6 @@ jobs: CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc CXX_aarch64_unknown_linux_gnu: aarch64-linux-gnu-g++ - PKG_CONFIG_ALLOW_CROSS: 1 - # Use vendored OpenSSL to avoid cross-compilation issues - OPENSSL_STATIC: 1 - OPENSSL_VENDORED: 1 run: cargo build --target ${{ matrix.build_target }} --release --bin khm --no-default-features --features cli # - name: Build Linux MUSL (no GUI) diff --git a/Cargo.toml b/Cargo.toml index 83c70f2..fb27ba1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,3 +54,7 @@ gui = ["tray-icon", "eframe", "egui", "winit", "notify", "notify-debouncer-mini" server = [] web = [] +# Target-specific dependencies for cross-compilation +[target.aarch64-unknown-linux-gnu.dependencies] +openssl = { version = "0.10", features = ["vendored"] } +