From cb2dc5c47748c2d01e1270960db7e367c59701d4 Mon Sep 17 00:00:00 2001 From: Joinhack Date: Sat, 28 Dec 2024 20:53:20 +0800 Subject: [PATCH] fix the dl symbol issue --- .github/workflows/runtime_release_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/runtime_release_linux.yml b/.github/workflows/runtime_release_linux.yml index fecb96e..efd3ecf 100644 --- a/.github/workflows/runtime_release_linux.yml +++ b/.github/workflows/runtime_release_linux.yml @@ -68,7 +68,7 @@ jobs: - name: Build runtime uses: actions-rs/cargo@v1 env: - RUSTFLAGS: "-C link-arg=-L/usr/local/lib" + RUSTFLAGS: "-C link-arg=-L/usr/local/lib -C link-arg=-ldl" LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/usr/local/lib" DYLD_LIBRARY_PATH: "$DYLD_LIBRARY_PATH:/usr/local/lib" AARCH64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR: /usr/local/include