We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2698

Summary: Build fails with smpeg + libmikmod enabled
Product: SDL_mixer Reporter: Bob Ombo <bombo>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.0   
Hardware: ARM   
OS: Android (All)   

Description Bob Ombo 2014-08-23 16:05:23 UTC
ndk-build fails when
in: jni/SDL2_mixer-2.0.0/Android.mk
SUPPORT_MOD_MIKMOD := true
SUPPORT_MP3_SMPEG := true

What i found out: 
libs are not built at all because the external Android.mk are not used.

'include $(call all-subdir-makefiles)' in ./Android.mk does just use ./sub*/Android.mk and not ./sub*/*/Android.mk

So we need to add it in 
jni/SDL2_mixer-2.0.0/Android.mk
and there needs to be a
jni/SDL2_mixer-2.0.0/external/Android.mk
with one line 'include $(call all-subdir-makefiles)'

That compiles it, but leads to some linking errors, i could not yet resolve.
Comment 1 Sam Lantinga 2017-10-18 08:57:29 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL_mixer/rev/3b05140ef301