Configure zlib with --enable-host-shared for shared bfd
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 May 2015 15:33:55 +0000 (08:33 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 May 2015 15:34:08 +0000 (08:34 -0700)
commite81d5d059b485b37a6f8cfb44e563ad8b702df07
treee6b4cf55657cb6627e7dcf1d4ce28209a9d7794c
parent00923338dec84505addaf9cdeca2e9c844757824
Configure zlib with --enable-host-shared for shared bfd

When bfd is configured as a shared library, we need to configure zlib
with --enable-host-shared since zlib is used by bfd.

PR ld/18355
* Makefile.def: Add extra_configure_flags to host zlib.
* configure.ac (extra_host_zlib_configure_flags): New.  Set
to --enable-host-shared When bfd is to be built as shared
library.  AC_SUBST.
* Makefile.in: Regenerated.
* configure: Likewise.
ChangeLog
Makefile.def
Makefile.in
configure
configure.ac