summaryrefslogtreecommitdiff
path: root/t/libtool9.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/libtool9.sh')
-rw-r--r--t/libtool9.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/t/libtool9.sh b/t/libtool9.sh
index bb6ac87d9..69bd72c08 100644
--- a/t/libtool9.sh
+++ b/t/libtool9.sh
@@ -84,9 +84,14 @@ $AUTOCONF
$AUTOMAKE --add-missing --copy
./configure
-env LDFLAGS=ldflags AM_LDFLAGS=am_ldflags libmod1_la_LDFLAGS=lm1_la_ldflags \
- CFLAGS=cflags AM_CFLAGS=am_cflags prg2_CFLAGS=prg2_cflags \
- $MAKE -e print >output 2>&1 || { cat output; exit 1; }
+run_make \
+ LDFLAGS=ldflags \
+ AM_LDFLAGS=am_ldflags \
+ libmod1_la_LDFLAGS=lm1_la_ldflags \
+ CFLAGS=cflags \
+ AM_CFLAGS=am_cflags \
+ prg2_CFLAGS=prg2_cflags \
+ print >output 2>&1 || { cat output; exit 1; }
cat output
grep '1BEG: libmod1.la mod2.la :END1' output
grep '2BEG: mod2.la :END2' output