Binutils's libbfd provides no ABI compatibility between different
versions, making ocaml depend strongly on the version of binutils it
was compiled with. Let's use libbfd.a instead. Note: we are already
using libiberty.a, for which there is no shared library at all.
-tklibs "-L/usr/lib -ltk8.5 -ltcl8.5"
CONFIGURE_SED := \
+ -e "/LIBBFD_LINK/s%-lbfd%-Wl,-Bstatic -lbfd -Wl,-Bdynamic%" \
-e "s%MANDIR=.*$$%MANDIR=\$$(PREFIX)/share/man%g" \
-e "s%LIBDIR=.*$$%LIBDIR=\$$(PREFIX)/lib/ocaml%g" \
-e "s%STUBLIBDIR=.*$$%STUBLIBDIR=\$$(PREFIX)/lib/ocaml/stublibs%g"