Explorar o código

* cwstring: try to load the iconv library with .6 suffix as well

git-svn-id: trunk@47630 -
ondrej %!s(int64=4) %!d(string=hai) anos
pai
achega
a33256c1fb
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      rtl/unix/cwstring.pp

+ 2 - 0
rtl/unix/cwstring.pp

@@ -1140,6 +1140,8 @@ initialization
 
   { load iconvctl function }
   iconvlib:=LoadLibrary(libprefix+libiconvname+'.'+SharedSuffix);
+  if iconvlib=0 then
+    iconvlib:=LoadLibrary(libprefix+libiconvname+'.'+SharedSuffix+'.6');
   if iconvlib<>0 then
     pointer(iconvctl):=GetProcAddress(iconvlib,iconvctlname);