Skip to content

Commit 8c70743

Browse files
committed
symlink rust source
1 parent 75d1c22 commit 8c70743

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/guix/libexec/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export GUIX_LD_WRAPPER_DISABLE_RPATH=yes
171171
[ -e /bin/bash ] || ln -s --no-dereference "$(command -v bash)" /bin/bash
172172
[ -e /bin/sh ] || ln -s --no-dereference "$(command -v sh)" /bin/sh
173173
[ -e /lib64/ld-linux-x86-64.so.2 ] || ln -s --no-dereference "${NATIVE_GCC}/lib/ld-linux-x86-64.so.2" /lib64/ld-linux-x86-64.so.2
174+
[ -e /rust ] || ln -s --no-dereference "${RUST_SRC}" /rust
174175

175176
# Determine the correct value for -Wl,--dynamic-linker for the current $HOST
176177
case "$HOST" in
@@ -312,7 +313,7 @@ mkdir -p "$DISTSRC"
312313
-DCMAKE_SKIP_RPATH=ON \
313314
-DMANUAL_SUBMODULES=1 \
314315
-DGUIX=1 \
315-
-DRUST_SRC=${RUST_SRC}
316+
-DRUST_SRC=/rust
316317

317318
make -C build --jobs="$JOBS"
318319

0 commit comments

Comments
 (0)