diff --git a/configure b/configure index 1b5e0173a7..e68cd3ed2e 100755 --- a/configure +++ b/configure @@ -4831,17 +4831,25 @@ enabled xmm_clobber_test && -Wl,--wrap,sws_scale || disable xmm_clobber_test -echo "X { local: *; };" > $TMPV -if test_ldflags -Wl,${version_script},$TMPV; then - append SHFLAGS '-Wl,${version_script},\$(SUBDIR)lib\$(NAME).ver' - check_cc < $TMPV + if test_ldflags -Wl,${version_script},$TMPV; then + append SHFLAGS '-Wl,${version_script},\$(SUBDIR)lib\$(NAME).ver' + check_cc <