Tighten up check-static-inits.sh check
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=74490
diff --git a/src/check-static-inits.sh b/src/check-static-inits.sh
index bb0a7ff..83d02c8 100755
--- a/src/check-static-inits.sh
+++ b/src/check-static-inits.sh
@@ -30,7 +30,7 @@
echo "Checking that no object file has lazy static C++ constructors/destructors or other such stuff"
for obj in $OBJS; do
- if objdump -t "$obj" | grep '__c'; then
+ if objdump -t "$obj" | grep '__cxa_'; then
echo "Ouch, $obj has lazy static C++ constructors/destructors or other such stuff"
stat=1
fi