Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2017-09

/trunk/packages/libfontconfig/src/libfontconfig.pp

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Sandro Cumerlato

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.

Best regards.

Sandro Cumerlato

Reply by email

Michael Van Canneyt
to Sandro Cumerlato
Sandro Cumerlato wrote 25 lines
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.

Reply by email