Example compilation fix

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2160 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat
2011-11-25 15:54:06 +00:00
parent 41c6e0451c
commit 7b9f4459cf
2 changed files with 11 additions and 2 deletions

View File

@ -64,6 +64,10 @@
<TargetOS Value="linux"/>
</CodeGeneration>
<Linking>
<Debugging>
<GenerateDebugInfo Value="False"/>
<UseLineInfoUnit Value="False"/>
</Debugging>
<Options>
<ExecutableType Value="Library"/>
</Options>

View File

@ -1,13 +1,18 @@
library androidlcltest;
{$mode objfpc}{$H+}
{$define Android}
uses
{$ifdef Android}
cmem,
Interfaces;
android_native_app_glue,
{$endif}
Interfaces,
mainform;
exports //android_main name 'android_main',
ANativeActivity_onCreate name 'ANativeActivity_onCreate';
ANativeActivity_onCreate name 'ANativeActivity_onCreate';
begin
end.