mirror of
https://github.com/NixOS/nix
synced 2025-07-12 19:05:08 +02:00
tests: Run `download-using-manifests' via libtool so that dlopening works.
This commit is contained in:
parent
c5d9ccd810
commit
6245f0d529
3 changed files with 8 additions and 1 deletions
|
@ -47,7 +47,9 @@ EOF
|
|||
cat > $NIX_BIN_DIR/nix/substituters/download-using-manifests.pl <<EOF
|
||||
#! $SHELL -e
|
||||
export DYLD_LIBRARY_PATH=
|
||||
exec $TOP/scripts/download-using-manifests.pl "\$@"
|
||||
exec "$top_builddir/libtool" --mode=execute \
|
||||
-dlopen "$top_builddir/perl/libNixStore.la" \
|
||||
"$top_builddir/scripts/download-using-manifests.pl" "\$@"
|
||||
EOF
|
||||
chmod +x $NIX_BIN_DIR/nix/substituters/download-using-manifests.pl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue