23.10.2011 20:01, Paul Ishenin пишет:
23.10.11 19:49, 4iter пишет:
Hi!
Fatal: Compilation aborted
..............................................
Maybe fixit it with #ifdef ?
How to define this ifdef?
Maybe it could be fixed either by dynamic loading or weakexternal
directive?
I tried to handle the situation by using LoadLibrary, GetProcAddress and
also failed on osx.
The next line tries to load "iconv.dylib" while on osx the library name
is "/usr/lib/libiconv.dylib":
iconvlib:=LoadLibrary(libiconvname+'.'+SharedSuffix);
Now I don't understand how it works with the static linking if
"libiconvname" variable is "iconv"?
Best regards,
Paul Ishenin.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel