Dear FPC-All!

If there is possibility publishing .SO export symbol outside the main file exports section?

I'm playing with http://bugs.freepascal.org/view.php?id=17805

I can include into .SO project the following unit. It compiles but does not export symbol.

unit reshdr;

{$mode objfpc}

interface

var rh : pointer; external name 'FPC_RESLOCATION';

implementation
exports
  rh;
end.

but FPC_RESLOCATION gets exported only when mentioned in main module export section.

regards,
Anton
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to