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?
Asked
Active
Viewed 1,420 times
1

Volodymyr Kulyk
- 6,455
- 3
- 36
- 63
-
I have SDL.so and includes. I want to use it to build SDL_mixer. How I should include it in Android.mk file? – Volodymyr Kulyk Jun 21 '14 at 16:40
1 Answers
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.