|
@@ -31,10 +31,10 @@ const
|
|
{$define ELF} // ELF symbol versioning.
|
|
{$define ELF} // ELF symbol versioning.
|
|
{$endif}
|
|
{$endif}
|
|
|
|
|
|
-{$if defined(linux) and (defined(cpuarm) or defined(cpupowerpc))}
|
|
|
|
-{ some linux targets seem to require this, if libc is not linked
|
|
|
|
- the wrong start up code is used }
|
|
|
|
-{$linklib c}
|
|
|
|
|
|
+{$if defined(linux)}
|
|
|
|
+ { if libc is not linked explicitly, FPC might chose the wrong startup code, as
|
|
|
|
+ libdl depends on libc on linux, this does not hurt }
|
|
|
|
+ {$linklib c}
|
|
{$endif}
|
|
{$endif}
|
|
|
|
|
|
{$ifdef aix}
|
|
{$ifdef aix}
|