diff options
-rw-r--r-- | sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild index 2ea275675426..ce1815ce5de2 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild @@ -98,6 +98,12 @@ multilib_src_configure() { && myconf+=( --without-included-gettext ) \ || myconf+=( --disable-nls ) + if [[ ${CHOST} == *-darwin* ]] && use nls ; then + # fix underlinking in opcodes + sed -i -e 's/@SHARED_LDFLAGS@/@SHARED_LDFLAGS@ -lintl/' \ + "${S}"/opcodes/Makefile.in || die + fi + ECONF_SOURCE=${S} \ econf "${myconf[@]}" |