[fpc-devel] /trunk/packages/libfontconfig/src/libfontconfig.pp

Michael Van Canneyt michael at freepascal.org
Mon Sep 11 19:12:56 CEST 2017



On Mon, 11 Sep 2017, Sandro Cumerlato wrote:

> Hello,
> in file /trunk/packages/libfontconfig/src/libfontconfig.pp I found the
> following code:
>
> ---------------------------------------------------------
> Const
> {$ifdef darwin}
>  DefaultLibName = 'libfontconfig.so';
> {$else}
>  DefaultLibName = 'libfontconfig.dylib';
> {$endif}
> ---------------------------------------------------------
>
> it sounds strange to me, I would expected the opposite assignment:
>
> ---------------------------------------------------------
> Const
> {$ifdef darwin}
>  DefaultLibName = 'libfontconfig.dylib';
> {$else}
>  DefaultLibName = 'libfontconfig.so';
> {$endif}
> ---------------------------------------------------------
>
> Am I wrong? Thank you in advance for your clarifications.

You are right, I had already fixed this locally, but forgot to commit it...

Fixed in rev. 37183.

Michael.



More information about the fpc-devel mailing list