mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 18:29:13 +02:00
* cwstring: try to load the iconv library with .6 suffix as well
git-svn-id: trunk@47630 -
This commit is contained in:
parent
fbb2e63fea
commit
a33256c1fb
@ -1140,6 +1140,8 @@ initialization
|
|||||||
|
|
||||||
{ load iconvctl function }
|
{ load iconvctl function }
|
||||||
iconvlib:=LoadLibrary(libprefix+libiconvname+'.'+SharedSuffix);
|
iconvlib:=LoadLibrary(libprefix+libiconvname+'.'+SharedSuffix);
|
||||||
|
if iconvlib=0 then
|
||||||
|
iconvlib:=LoadLibrary(libprefix+libiconvname+'.'+SharedSuffix+'.6');
|
||||||
if iconvlib<>0 then
|
if iconvlib<>0 then
|
||||||
pointer(iconvctl):=GetProcAddress(iconvlib,iconvctlname);
|
pointer(iconvctl):=GetProcAddress(iconvlib,iconvctlname);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user