Hi All Is it expected behavior, that explicitly set library name is not used in linking for Drawin target (fpc 2.5.1)?
function SomeFunc: Integer; external 'LibName'; 'LibName' is not added to link.res, so {$linklib LibName} is required for successful linking. Docs says nothing about it: http://lazarus-ccr.sourceforge.net/fpcdoc/prog/progsu131.html#x175-1720007.1.1 In fact, docs say that the linker should use the specified library name. If ignoring the specified name is fine, then it's worthy adding it to docs. thanks, dmitry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal