Ticket #22445 (closed enhancement: fixed)
configure binutils with --enable-shared
|Reported by:||mwolfram@…||Owned by:||macports-tickets@…|
MacPorts: 1.8.1 binutils: 2.20
Currently binutils will build a libbfd which requires one to link against libiberty.a. When one creates a shared library which uses libbfd this fails because the libiberty.a has a dependency on _environ which is only linked to executables.
configuring binutils with --enable-shared will place libiberty code into libbfd and libopcodes and enables building of other shared libraries using libbfd.
So it would be great to have binutils install the shared version by default.