* configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
authorIan Lance Taylor <ian@airs.com>
Tue, 13 Feb 1996 20:33:12 +0000 (20:33 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 13 Feb 1996 20:33:12 +0000 (20:33 +0000)
ld/ChangeLog
ld/configure.host

index 1a2371611cbb761646859b02fd1297ccc3a0f5c6..5fc08063bc0d4525e4c5dccc8f54f5d7f99b1901 100644 (file)
@@ -1,5 +1,7 @@
 Tue Feb 13 14:04:19 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
+
        * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Warn if
        it looks like we might be linking in two different versions of the
        same shared library.  Based on a patch from H J Lu <hjl@zoom.com>.
index 8d43d7eea7bfb9ada63e07af9a16fbb87a748331..9d0b6282a9132a7c3f5f1030c1404ee22a8d8c07 100644 (file)
@@ -136,6 +136,9 @@ HLDFLAGS=
 # If we have shared libraries, try to set rpath reasonably.
 if test "${shared}" = "true"; then
   case "${host}" in
+  *-*-hpux*)
+    HLDFLAGS='-Wl,+s,+b,$(libdir)'
+    ;;
   *-*-irix5*)
     HLDFLAGS='-Wl,-rpath,$(libdir)'
     ;;
This page took 0.045226 seconds and 4 git commands to generate.