From b2138325a3f13db4ee30444f514ef3ca19fc9331 Mon Sep 17 00:00:00 2001 From: jucasoliveira Date: Tue, 30 Jan 2024 06:19:16 +0000 Subject: [PATCH] Update RUSTFLAGS to include Python library path --- .github/workflows/cross-compiling-env.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cross-compiling-env.sh b/.github/workflows/cross-compiling-env.sh index 51356c8..072a562 100644 --- a/.github/workflows/cross-compiling-env.sh +++ b/.github/workflows/cross-compiling-env.sh @@ -31,7 +31,9 @@ case "${TARGET}" in export PKG_CONFIG_PATH=$PYTHON_LIB_DIR/pkgconfig:$PKG_CONFIG_PATH fi - export RUSTFLAGS="-C link-arg=-Wl,-rpath,$PYTHON_LIB_DIR" + export RUSTFLAGS="-C link-args=-Wl,-rpath,/home/runner/work/tgs/tgs/python/lib -C link-arg=-L/home/runner/work/tgs/tgs/python/lib" + + echo "Listing contents of Python installation directory for aarch64..." ls -l "$PYTHON_LIB_DIR" ;;