Skip to content

Commit

Permalink
Update RUSTFLAGS to include Python library path
Browse files Browse the repository at this point in the history
  • Loading branch information
jucasoliveira committed Jan 30, 2024
1 parent 8f4172a commit b213832
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cross-compiling-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down

0 comments on commit b213832

Please sign in to comment.