Fix ICU load on OpenSUSE Tumbleweed (dotnet/coreclr#19812)
authorJan Vorlicek <janvorli@microsoft.com>
Fri, 7 Sep 2018 08:44:47 +0000 (10:44 +0200)
committerGitHub <noreply@github.com>
Fri, 7 Sep 2018 08:44:47 +0000 (10:44 +0200)
commit47cb200edd0d800ea7cc79430355f883299fc8c5
tree24aacaa24138d6aa5c6b3e021b5d46f46c6da93e
parentc3ab089ed2e2e2bc5eb81829be523c457037e533
Fix ICU load on OpenSUSE Tumbleweed (dotnet/coreclr#19812)

For some reason, OpenSUSE Tumbleweed has decided to prefix the
version number in the SO name of the ICU libraries by "suse".
That prevents our ICU version detection code from working.

This change adds scanning for SO names that contain that prefix too.

Commit migrated from https://github.com/dotnet/coreclr/commit/3df1959f00c34a80988e075b48b869e6b9d8102b
src/coreclr/src/corefx/System.Globalization.Native/icushim.cpp