supermin: Add special case for libgcc_s-*.so.N
[libguestfs.git] / appliance / supermin-split.sh.in
index 7b83afb..c710dc3 100755 (executable)
@@ -78,6 +78,10 @@ for path in $(find -not -name fakeroot.log); do
     elif [[ "$file" =~ '^libbfd-.*\.so$' ]]; then
         echo "$dir/libbfd-*.so" >&6
 
+    # Special case for libgcc_s-<gccversion>-<date>.so.N
+    elif [[ "$file" =~ '^libgcc_s-.*\.so\.([0-9]+)$' ]]; then
+        echo "$dir/libgcc_s-*.so.${BASH_REMATCH[1]}" >&6
+
     # libfoo-1.2.3.so
     elif [[ "$file" =~ '^lib(.*)-[-.0-9]+\.so$' ]]; then
         echo "$dir/lib${BASH_REMATCH[1]}-*.so" >&6