File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,5 @@ export RUSTC=$dir"/bin/cg_clif"
18
18
export RUSTDOCFLAGS=$linker ' -Cpanic=abort -Zpanic-abort-tests ' \
19
19
' -Zcodegen-backend=' $dir ' /lib/' $dylib ' --sysroot ' $dir
20
20
21
- # FIXME fix `#[linkage = "extern_weak"]` without this
22
- if [[ " $( uname) " == ' Darwin' ]]; then
23
- export RUSTFLAGS=" $RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
24
- fi
25
-
26
21
export LD_LIBRARY_PATH=" $( rustc --print sysroot) /lib:" $dir " /lib"
27
22
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
Original file line number Diff line number Diff line change @@ -25,3 +25,8 @@ if [[ "$HOST_TRIPLE" != "$TARGET_TRIPLE" ]]; then
25
25
echo " Unknown non-native platform"
26
26
fi
27
27
fi
28
+
29
+ # FIXME fix `#[linkage = "extern_weak"]` without this
30
+ if [[ " $( uname) " == ' Darwin' ]]; then
31
+ export RUSTFLAGS=" $RUSTFLAGS -Clink-arg=-undefined -Clink-arg=dynamic_lookup"
32
+ fi
You can’t perform that action at this time.
0 commit comments