589@@ -590,6 +590,10 @@ case $host in
590 archive_cmds_CXX="\$CC -shared \$libobjs \$deplibs \$compiler_flags -static -o \$output_objdir/\$soname \${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker \$lib"
591 postdeps_CXX=
592
593+ dnl We require at least Windows 7 (NT 6.1)
594+ AX_CHECK_LINK_FLAG([[-Wl,--major-subsystem-version -Wl,6]], [LDFLAGS="$LDFLAGS -Wl,--major-subsystem-version -Wl,6"],, [[$LDFLAG_WERROR]])
Would it be possible to combine these into one line/check? Specifying the one doesn’t make sense without the other, after all
Sure. I’ve merged them into a single check.