summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/freedesktop.org.xml.in1
-rwxr-xr-xtests/mime-detection/libldap-2.4.so.2bin0 -> 13568 bytes
-rw-r--r--tests/mime-detection/list2
3 files changed, 3 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index ae05d58a..2324f0ea 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -3731,6 +3731,7 @@ command to generate the output files.
</match>
</magic>
<glob pattern="*.so"/>
+ <glob weight="60" pattern="*.so.[0-9]*"/>
</mime-type>
<mime-type type="application/x-shellscript">
<comment>shell script</comment>
diff --git a/tests/mime-detection/libldap-2.4.so.2 b/tests/mime-detection/libldap-2.4.so.2
new file mode 100755
index 00000000..d8966a80
--- /dev/null
+++ b/tests/mime-detection/libldap-2.4.so.2
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index d2aed529..ec35b866 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -781,6 +781,8 @@ subshapes.swf application/vnd.adobe.flash.movie
pci.mod application/x-object x
# PIE executable https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/11
ls application/x-executable x
+# ELF shared library
+libldap-2.4.so.2 application/x-sharedlib oxo
boardingpass.pkpass application/vnd.apple.pkpass
hello.xdgapp application/vnd.flatpak