diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -437,6 +437,14 @@ stdcxx_libs="$( for x in so dylib a; do \ has_or_abort lib="${stdcxx_libs}" \ err="'libstdc++' shared library was not found" +# Yes, we may be checking twice for libstdc++.a +# The first is because we need one instance of libstdc++ (shared or static) +# because it is needed for PPL; the second is because the static version is +# required for static-linking, and if missing, the option is removed. +has_or_warn lib="libstdc++.a" \ + err="static 'libstdc++' is needed to statically link the toolchain's executables" \ + kconfig=has_static_libstdcxx + #--------------------------------------------------------------------- # Compute the version string |