浏览代码

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

git-svn-id: trunk@47630 -
ondrej 4 年之前
父节点
当前提交
a33256c1fb
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);