diff --git a/test-suite/standalone/Makefile.am b/test-suite/standalone/Makefile.am index e7cfd822f..058ce9349 100644 --- a/test-suite/standalone/Makefile.am +++ b/test-suite/standalone/Makefile.am @@ -28,7 +28,9 @@ check_SCRIPTS = BUILT_SOURCES = EXTRA_DIST = -TESTS_ENVIRONMENT = "${top_builddir}/pre-inst-guile-env" +TESTS_ENVIRONMENT = \ + builddir="$(builddir)" \ + "${top_builddir}/pre-inst-guile-env" test_cflags = \ -I$(top_srcdir)/test-suite/standalone \ diff --git a/test-suite/standalone/test-asmobs b/test-suite/standalone/test-asmobs index 2ea75d9bf..9689ab9c6 100755 --- a/test-suite/standalone/test-asmobs +++ b/test-suite/standalone/test-asmobs @@ -2,7 +2,8 @@ exec guile -q -s "$0" "$@" !# -(load-extension "libtest-asmobs" "libtest_asmobs_init") +(load-extension (string-append (getenv "builddir") "/libtest-asmobs") + "libtest_asmobs_init") (define (test x v) (if v