1

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?

Volodymyr Kulyk
  • 6,455
  • 3
  • 36
  • 63

1 Answers1

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.

Community
  • 1
  • 1
Alex Cohn
  • 56,089
  • 9
  • 113
  • 307