问题
I have already build SDL for Android.
But, unfortunately, SDL_mixer is missing there. So I want to build SDL mixer.
Problem is: SDL_mixer wants SDL, so how I can include libsdl.so
and SDL includes to my eclipse SDL_mixer project?
回答1:
In Android.mk for SDL_mixer, there is a reference to SDL library:
LOCAL_SHARED_LIBRARIES = SDL2
So, if you build the two libraries together, the reference will be fulfilled automatically. Alternatively, you can define SDL2 as PREBUILT_SHARED_LIBRARY.
来源:https://stackoverflow.com/questions/24330365/build-sdl-mixer-for-android