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 - No way to disable linking to libiconv
Summary: No way to disable linking to libiconv
Status: NEW
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86_64 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-17 09:44 UTC by Rainer Deyke
Modified: 2018-01-17 09:44 UTC (History)
0 users

See Also:


Attachments
Patch to fix the problem - untested, please verify before applying! (989 bytes, text/plain)
2018-01-17 09:44 UTC, Rainer Deyke
Details

Note You need to log in before you can comment on or make changes to this bug.
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.