diff --git a/libbuild2-autoconf/libbuild2/autoconf/buildfile b/libbuild2-autoconf/libbuild2/autoconf/buildfile index 2bb0a39..5d297f0 100644 --- a/libbuild2-autoconf/libbuild2/autoconf/buildfile +++ b/libbuild2-autoconf/libbuild2/autoconf/buildfile @@ -21,9 +21,10 @@ lib{build2-autoconf}: {hxx ixx txx cxx}{* -checks} {hxx cxx}{checks} \ {{ diag gen ($>[1]) - # We have to sort without the extension. + # We have to sort without the extension and as strings (to sort + # case-sensitively on Windows). # - i = $regex.apply($sort($base($path($<))), '(.+)', '\1.h') + i = $regex.apply($sort([strings] $base($path($<))), '(.+)', '\1.h') h = $path($>[0]) s = $path($>[1])