]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: Let 'ltorder.sh' run successfully with Guix dynamic loader
authorMathieu Lirzin <mthl@gnu.org>
Thu, 18 Jan 2018 23:38:34 +0000 (00:38 +0100)
committerMathieu Lirzin <mthl@gnu.org>
Fri, 19 Jan 2018 00:22:54 +0000 (01:22 +0100)
* t/ltorder.sh: Set GUIX_LD_WRAPPER_ALLOW_IMPURITIES environment variable to
unlock the dynamic loader provided by GNU Guix.

t/ltorder.sh

index 74cd6ff5d7b6e18b17f06121ea91d14d8951bf4e..4cfdddf7a8b487e73afe34b40e054e620b71702e 100644 (file)
@@ -52,6 +52,12 @@ $AUTOMAKE --add-missing
 
 ./configure --prefix="$(pwd)/inst"
 
+# XXX: This is a workaround for a purity mechanism implemented by GNU Guix.
+# For more details see
+# <https://www.gnu.org/s/guix/manual/html_node/Application-Setup.html#index-ld_002dwrapper>.
+GUIX_LD_WRAPPER_ALLOW_IMPURITIES=1
+export GUIX_LD_WRAPPER_ALLOW_IMPURITIES
+
 $MAKE
 run_make -E install
 grep 'has not been installed' stderr && exit 1