From 675d8867cfa8fe2851a0364d428363feda3528b7 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Wed, 20 Nov 2024 09:36:20 -0800 Subject: [PATCH] pthread --- .github/workflows/ffi-builds.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ffi-builds.yml b/.github/workflows/ffi-builds.yml index a53561f1..08e027c2 100644 --- a/.github/workflows/ffi-builds.yml +++ b/.github/workflows/ffi-builds.yml @@ -158,10 +158,11 @@ jobs: ANDROID_NDK: /usr/local/lib/android/sdk/ndk/26.3.11579264 ANDROID_NDK_HOME: /usr/local/lib/android/sdk/ndk/26.3.11579264 ANDROID_NDK_ROOT: /usr/local/lib/android/sdk/ndk/26.3.11579264 + RUSTFLAGS: "-C link-arg=-fuse-ld=lld -C link-arg=-pthread" run: | cd livekit-ffi/ cargo install cargo-ndk - cargo ndk --bindgen --target ${{ matrix.target }} build --release ${{ matrix.buildargs }} + cargo ndk --bindgen -t ${{ matrix.target }} -p 26 -- build --release ${{ matrix.buildargs }} - name: Copy/Build licenses run: |