Date: Thu, 28 Dec 2023 06:15:15 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 275969] converters/libiconv: Unable to build without including /usr/local/include/iconv.h Message-ID: <bug-275969-39348-venV8LVw2Z@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275969-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-275969-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275969 --- Comment #6 from Gleb Popov <arrowd@FreeBSD.org> --- > However, the problem remains: I'm including /usr/local/include/iconv.h an= d linking with -lc which also provides an iconv implementation. With the LI= BICONV_PLUG the libiconv functions don't get the "lib" prefix. > I'm guessing libiconv and libc try to provide compatible headers, but it = seems a bit fragile to depend on that. What's the problem with this approach? This is exactly what Ports framework= do. By passing -DLIBICONV_PLUG you make it indifferent for the software you're compiling whether 3rd party libiconv is installed or not. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275969-39348-venV8LVw2Z>