Android: add module to build library as static in Android.mk
authorSylvain Becker <sylvain.becker@gmail.com>
Wed, 27 Nov 2019 17:41:28 +0100
changeset 1048569f5be0f8ec
parent 1047 ee23898a09a2
child 1049 22ad5c77e1be
Android: add module to build library as static in Android.mk
Android.mk
     1.1 --- a/Android.mk	Tue Nov 26 17:00:50 2019 +0300
     1.2 +++ b/Android.mk	Wed Nov 27 17:41:28 2019 +0100
     1.3 @@ -110,3 +110,19 @@
     1.4  LOCAL_EXPORT_C_INCLUDES += $(LOCAL_PATH)/include
     1.5  
     1.6  include $(BUILD_SHARED_LIBRARY)
     1.7 +
     1.8 +###########################
     1.9 +#
    1.10 +# SDL2_mixer static library
    1.11 +#
    1.12 +###########################
    1.13 +
    1.14 +LOCAL_MODULE := SDL2_mixer_static
    1.15 +
    1.16 +LOCAL_MODULE_FILENAME := libSDL2_mixer
    1.17 +
    1.18 +LOCAL_LDLIBS :=
    1.19 +LOCAL_EXPORT_LDLIBS :=
    1.20 +
    1.21 +include $(BUILD_STATIC_LIBRARY)
    1.22 +