<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Liberation Sans">Dear FPC-All!<br>
<br>
If there is possibility publishing .SO export symbol outside the
main file exports section?<br>
<br>
I'm playing with </font><font face="Liberation Sans"><a
href="http://bugs.freepascal.org/view.php?id=17805">http://bugs.freepascal.org/view.php?id=17805</a><br>
<br>
I can include into .SO project the following unit. It compiles but
does not export symbol.<br>
<br>
unit reshdr;<br>
<br>
{$mode objfpc}<br>
<br>
interface<br>
<br>
var rh : pointer; external name 'FPC_RESLOCATION';<br>
<br>
implementation<br>
exports<br>
rh;<br>
end.<br>
<br>
but </font><font face="Liberation Sans">FPC_RESLOCATION gets
exported only when mentioned in main module export section.<br>
<br>
regards,<br>
Anton<br>
</font>
</body>
</html>