diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-07-18 21:19:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-07-18 21:19:11 +0000 |
commit | ab659fd6de3f0e9068f9bb72dbb5bedff64cc220 (patch) | |
tree | d35b8ac74bdcf874fc6905651adf86e4e0f1b079 /bfd/configure.host | |
parent | 8dd07a847cdcc82c9b881433ed84f8d41904163b (diff) | |
download | gdb-ab659fd6de3f0e9068f9bb72dbb5bedff64cc220.zip gdb-ab659fd6de3f0e9068f9bb72dbb5bedff64cc220.tar.gz gdb-ab659fd6de3f0e9068f9bb72dbb5bedff64cc220.tar.bz2 |
* configure.host: Set INSTALL_SHLIB.
* configure.in: Call AC_SUBST (INSTALL_SHLIB).
* configure: Rebuild.
* Makefile.in (install): Use @INSTALL_SHLIB@.
Diffstat (limited to 'bfd/configure.host')
-rw-r--r-- | bfd/configure.host | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/configure.host b/bfd/configure.host index b2b9e71..004873a 100644 --- a/bfd/configure.host +++ b/bfd/configure.host @@ -17,6 +17,7 @@ # ALLLIBS may be set to libraries to build # HLDFLAGS LDFLAGS specific to the host # RPATH_ENVVAR environment variable used to find shared libraries +# INSTALL_SHLIB install a shared library HDEFINES= host64=false @@ -54,6 +55,7 @@ HLDFLAGS= RPATH_ENVVAR=LD_LIBRARY_PATH SHLIB_CC='$(CC)' SHLIB_CFLAGS='-shared' +INSTALL_SHLIB='$(INSTALL_PROGRAM) $$f $(libdir)/$$tf;' if [ "${shared}" = "true" ]; then case "${host}" in hppa*-*-*) picfrag=${srcdir}/../config/mh-papic ;; @@ -80,6 +82,7 @@ if [ "${shared}" = "true" ]; then SHLIB_CFLAGS='-shared $(PICFLAG)' HLDFLAGS='-Wl,+s,+b,$(libdir)' RPATH_ENVVAR=SHLIB_PATH + INSTALL_SHLIB='$(INSTALL_PROGRAM) $$f $(libdir)/$$tf; chmod -w $(libdir)/$$tf;' ;; *-*-irix[56]*) # -fpic is not needed on Irix 5 or 6. |