aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-13 20:34:53 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-13 20:34:53 +0000
commit56f9773ffd7d9baf1028bb92e2d4af073dce32ea (patch)
tree0e5a64cbfb733ab658e18f55f27e644dcebda63c /gas/configure.in
parentb6acf0846acf31b06b52552a5db37a2e2b12c1c7 (diff)
downloadgdb-56f9773ffd7d9baf1028bb92e2d4af073dce32ea.zip
gdb-56f9773ffd7d9baf1028bb92e2d4af073dce32ea.tar.gz
gdb-56f9773ffd7d9baf1028bb92e2d4af073dce32ea.tar.bz2
* configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
* configure: Rebuild.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 9d371ef..a8a9676 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -635,6 +635,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)'
;;