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 4051

Summary: No way to disable linking to libiconv
Product: SDL Reporter: Rainer Deyke <rainerd>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: Patch to fix the problem - untested, please verify before applying!

Description Rainer Deyke 2018-01-17 09:44:22 UTC
Created attachment 3144 [details]
Patch to fix the problem - untested, please verify before applying!

Even though SDL works fine without libiconv, SDL insists on linking to libiconv if the configure script detects the libiconv development libraries installed.  Among other reasons, this is problematic because libiconv uses the LGPL license, which requires special care when linking to a project that cannot be open sourced.  There should be a configuration option to not use libiconv.