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 1419

Summary: SDL_libgl2D.c breaks ndk-build
Product: SDL Reporter: Philip Taylor <philip>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: Android (All)   
Attachments: only enable code if SDL_VIDEO_RENDER_NDS

Description Philip Taylor 2012-02-15 10:43:47 UTC
Created attachment 821 [details]
only enable code if SDL_VIDEO_RENDER_NDS

render/nds/SDL_libgl2D.c unconditionally includes NDS-only code. SDL's Android.mk compiles source files matching

  $(wildcard $(LOCAL_PATH)/src/render/*/*.c)

which includes that file, causing build errors when running ndk-build.
Comment 1 Sam Lantinga 2012-02-15 18:11:54 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/d88e5195dee3