Remove *.so from UNNECESSARY_DYNAMIC_LIBRARIES on s390x
Partial commit for third_party/*, see
@@ -610,11 +610,11 @@ UNNECESSARY_DYNAMIC_LIBRARIES = select({
"//src/conditions:windows": "*.so *.jnilib",
"//src/conditions:darwin": "*.so *.dll",
"//src/conditions:linux_x86_64": "*.jnilib *.dll",
- # The .so file is an x86 one, so we can just remove it if the CPU is not x86
+ "//src/conditions:linux_s390x": "*.jnilib *.dll",
+ # The .so file is an x86/s390x one, so we can just remove it if the CPU is not x86/s390x
"//src/conditions:arm": "*.so *.jnilib *.dll",
"//src/conditions:linux_aarch64": "*.so *.jnilib *.dll",
"//src/conditions:linux_ppc": "*.so *.jnilib *.dll",
- "//src/conditions:linux_s390x": "*.so *.jnilib *.dll",
"//src/conditions:freebsd": "*.so *.jnilib *.dll",
"//src/conditions:openbsd": "*.so *.jnilib *.dll",
# Default is to play it safe -- better have a big binary than a slow binary
