mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 04:10:38 +01:00
when linked to FPC-compiled programs under linux/i386 which
do not use libc + test (mantis #8730). Programs which do use
libc and other linux targets have to be fixed in a similar
way until we properly fix everything by not exporting
any symbols at all from shared libraries by default (and
only those appearing in the "exports" section).
Finalisation does not work yet either for FPC-compiled
programs on linux/anything.
git-svn-id: trunk@10495 -
26 lines
353 B
ObjectPascal
26 lines
353 B
ObjectPascal
{ %norun }
|
|
{ %target=win32,win64,wince,darwin,linux,freebsd,solaris,beos}
|
|
|
|
{$mode delphi}
|
|
|
|
{$ifdef darwin}
|
|
{$PIC+}
|
|
{$endif darwin}
|
|
|
|
{$ifdef CPUX86_64}
|
|
{$ifndef WINDOWS}
|
|
{$PIC+}
|
|
{$endif WINDOWS}
|
|
{$endif CPUX86_64}
|
|
|
|
library tw8730a;
|
|
|
|
uses uw8730a;
|
|
|
|
exports
|
|
_Lib1Func;
|
|
|
|
end.
|
|
|
|
//= END OF FILE ===============================================================
|