mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 02:48:07 +02:00
* Merging revisions r46248 from trunk:
------------------------------------------------------------------------ r46248 | michael | 2020-08-05 13:37:11 +0200 (Wed, 05 Aug 2020) | 1 line * Fix extension to fit platform ------------------------------------------------------------------------ git-svn-id: branches/fixes_3_2@46604 -
This commit is contained in:
parent
161e7862e7
commit
53e07c91e4
@ -41,7 +41,16 @@ uses ctypes;
|
||||
}
|
||||
|
||||
const
|
||||
LibGnuTLS ='libgnutls.so'; {Setup as you need}
|
||||
{$IFDEF WINDOWS}
|
||||
LibGnuTLSExt = 'dll';
|
||||
{$ELSE}
|
||||
{$ifDEF DARWIN}
|
||||
LibGnuTLSExt = 'dylib';
|
||||
{$ELSE}
|
||||
LibGnuTLSExt = 'so';
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
LibGnuTLS ='libgnutls.'+LibGnuTLSExt; {Setup as you need}
|
||||
|
||||
|
||||
{ Converted enums}
|
||||
|
Loading…
Reference in New Issue
Block a user