+2021-08-25 Bruno Haible <bruno@clisp.org>
+
+ execute tests: Fix test failure when libtool is in use.
+ * modules/execute-tests (Makefile.am): Link test-execute-child without
+ using libtool.
+ * modules/spawn-pipe-tests (Makefile.am): Link test-spawn-pipe-child
+ without using libtool.
+ * modules/system-quote-tests (Makefile.am): Link test-system-quote-child
+ without using libtool.
+
2021-08-24 Paul Eggert <eggert@cs.ucla.edu>
dfa: prefer idx_t to ptrdiff_t for nonnegative
# The test-execute-child program must be a real executable, not a libtool
# wrapper script, and should link against as few libraries as possible.
# Therefore don't link it against any libraries other than -lc.
+test_execute_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
test_execute_child_LDADD =
TESTS += test-execute-script
# The test-spawn-pipe-child program must be a real executable, not a libtool
# wrapper script, and should link against as few libraries as possible.
# Therefore don't link it against any libraries other than -lc.
+test_spawn_pipe_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
test_spawn_pipe_child_LDADD =
TESTS += test-spawn-pipe-script
# The test-system-quote-child program must be a real executable, not a libtool
# wrapper script, and should link against as few libraries as possible.
# Therefore don't link it against any libraries other than -lc.
+test_system_quote_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
test_system_quote_child_LDADD =