aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-13 20:33:12 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-13 20:33:12 +0000
commitb6acf0846acf31b06b52552a5db37a2e2b12c1c7 (patch)
tree268dffbf4145f060f921738bd7d2c1273e35327b /ld/configure.host
parentfe7c066a1019898a570beb7747f9d2684fbbdbe3 (diff)
downloadgdb-b6acf0846acf31b06b52552a5db37a2e2b12c1c7.zip
gdb-b6acf0846acf31b06b52552a5db37a2e2b12c1c7.tar.gz
gdb-b6acf0846acf31b06b52552a5db37a2e2b12c1c7.tar.bz2
* configure.host: Set HDLFLAGS for *-*-hpux with --enable-shared.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host
index 8d43d7e..9d0b628 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -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)'
;;