mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 15:41:09 +01:00
* libdl not imported under *BSD
This commit is contained in:
parent
f09c1e8e63
commit
261152bc92
@ -44,7 +44,9 @@ testib.pp(92,1) Warning: Error while linking
|
||||
|
||||
you must to program source add compiler directives
|
||||
|
||||
{$linklib dl}
|
||||
{$ifndef BSD} // BSD has libdl in libc
|
||||
{$linklib dl}
|
||||
{$endif}
|
||||
{$linklib crypt}
|
||||
|
||||
and all should be OK. For running testib you must have
|
||||
|
||||
@ -15,8 +15,10 @@
|
||||
|
||||
program TestIB;
|
||||
|
||||
{$ifdef linux}
|
||||
{$linklib dl}
|
||||
{$ifdef unix}
|
||||
{$ifndef BSD} // BSD has libdl built in libc
|
||||
{$linklib dl}
|
||||
{$endif}
|
||||
{$linklib crypt}
|
||||
{$endif}
|
||||
|
||||
@ -92,7 +94,10 @@ end.
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.5 2003-07-19 15:36:24 michael
|
||||
Revision 1.6 2003-08-09 15:15:26 marco
|
||||
* libdl not imported under *BSD
|
||||
|
||||
Revision 1.5 2003/07/19 15:36:24 michael
|
||||
+ dl and crypt only needed on Linux
|
||||
|
||||
Revision 1.4 2002/09/07 15:15:23 peter
|
||||
|
||||
Loading…
Reference in New Issue
Block a user