Skip to content

Handle build with older versions of GCC

Older versions of GCC (prior to 9.1) did not put the std::filesystem support directly into libstdcpp, but in a separate libstdc++fs. Add meson logic to detect if an extra linker flag is necessary.

Fixes #223 (closed).

Tested on AlmaLinux 8 which uses GCC-8.

Signed-off-by: Patrick Williams

Merge request reports