summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 6982257..d0c032a 100755
--- a/configure
+++ b/configure
@@ -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