This PR effectively reverts commit 4f890ba6bc8caba5394c7a5388d7f07959ced78b from #11437, which fixed some build issues on WSL seven years ago.
Testing the current master branch @ 31a3ff55154bf15fb35b157c3f67ec05408ecdf9 on Windows 11 + WSL using Ubuntu 24.04 or Debian images, I noticed that the workaround is no longer required. Moreover, it doesn’t affect the build process at all, which means the hashes of the built packages in depends remain the same and the configure
log in the main build system remains the same as well.