author Sam Lantinga
Sun, 13 Aug 2017 18:12:06 -0700
changeset 11263 f85618f8ba81
parent 4965 91d0085b7560
permissions -rw-r--r--
Fixed bug 2812 - Make libSDL2main.a usable on Android via a dummy symbol

Jonas Kulla

This eliminates the need to manually compile in SDL_main_android.c.
Instead, add "-lSDL2main -Wl,-u,SDL_main_dummy" when linking.

I don't know how the nkd-build process works, but unless it was
for some reason linking libSDL2main.a it should be unaffected.
     1 # This file is used to override default values used by the Ant build system.
     2 # 
     3 # This file must be checked in Version Control Systems, as it is
     4 # integral to the build system of your project.
     6 # This file is only used by the Ant script.
     8 # You can use this to override default values such as
     9 #  'source.dir' for the location of your java source folder and
    10 #  'out.dir' for the location of your output folder.
    12 # You can also use it define how the release builds are signed by declaring
    13 # the following properties:
    14 #  '' for the location of your keystore and
    15 #  'key.alias' for the name of the key to use.
    16 # The password will be asked during the build when you use the 'release' target.