Support for building bfd and opcodes as shared libraries, based on
authorIan Lance Taylor <ian@airs.com>
Mon, 5 Feb 1996 21:28:15 +0000 (21:28 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 5 Feb 1996 21:28:15 +0000 (21:28 +0000)
commitf8d489718fe1d05f007726a7df20455047630b8c
tree18a6dc808fc9b1e23169dd997d8f364ba83b2f8a
parente0bf1022ddc4d5697106c67a0a6f4088fb6531aa
Support for building bfd and opcodes as shared libraries, based on
patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
* configure.in (HLDFLAGS): New substitution.
* configure: Rebuild.
* configure.host: Set HLDFLAGS on SunOS.
* Makefile.in (HLDFLAGS): New variable.
(BFDDEP): New variable.
(BFDLIB): Change to -L../bfd -lbfd.
($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB).  Use
$(HLDFLAGS) in link.
(check): Set LD_LIBRARY_PATH in the environment.
ld/ChangeLog