Skip to content

Commit dd766df

Browse files
authored
Merge pull request #12 from dkm/pr/fix_ld
Use LIBRARY_PATH to have ld look for libgccjit at link time
2 parents ad14919 + a12456a commit dd766df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test.sh

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ set -e
66
export GCC_PATH=$(cat gcc_path)
77

88
export LD_LIBRARY_PATH="$GCC_PATH"
9+
export LIBRARY_PATH="$GCC_PATH"
10+
911
if [[ "$1" == "--release" ]]; then
1012
export CHANNEL='release'
1113
CARGO_INCREMENTAL=1 cargo rustc --release

0 commit comments

Comments
 (0)