Fixes linking LCL-Android by disabling all links to libc in arm-linux

git-svn-id: trunk@31913 -
This commit is contained in:
sekelsenmat 2011-08-08 11:23:08 +00:00
parent 5f0143992d
commit b51ae032ac
4 changed files with 10 additions and 1 deletions

View File

@ -1,2 +1,8 @@
// Add defines here. This file should be included in all LCL units headers
{$define UseCLDefault}
{$define UseCLDefault}
// For Android and other ARM-devices, otherwise the LCL will dependent on libc
{$IFDEF ARM}{$IFDEF UNIX}
{$DEFINE DisableCWString}
{$DEFINE DisableIconv}
{$ENDIF}{$ENDIF}

View File

@ -26,6 +26,7 @@ unit LCLProc;
{$mode objfpc}{$H+}
{$inline on}
{$include include/lcl_defines.inc}
interface

View File

@ -15,6 +15,7 @@
unit LConvEncoding;
{$mode objfpc}{$H+}
{$include include/lcl_defines.inc}
interface

View File

@ -65,6 +65,7 @@
unit Translations;
{$mode objfpc}{$H+}{$INLINE ON}
{$include include/lcl_defines.inc}
interface