Opened 7 years ago

#5662 new Bug

Add a check for iconv and conditionally link it

Reported by: missionsix Owned by:
Priority: High Milestone: None Set
Component: Transmission Version: 2.82
Severity: Major Keywords: autoconf
Cc:

Description

Building from source on FreeBSD has exposed a number of issues with autoconf/automake, one of them being the assumption that iconv is built in component of libc.

This patch, taken from ticket #5304 conditionally links libiconv such that building from source is possible (with other caveats).

This is currently being worked around in the FreeBSD port by adding an ldflags to the ports Makefile. This works, however it makes developing on this platform painful when working with trunk.

Credit to philippe for the patch.

Attachments (1)

check-for-libiconv-and-link-it.diff (30.0 KB) - added by missionsix 7 years ago.
Add a check for libiconv and link against it

Download all attachments as: .zip

Change History (1)

Changed 7 years ago by missionsix

Add a check for libiconv and link against it

Note: See TracTickets for help on using tickets.