aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index 393589d..8da8b86 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -47,6 +47,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)'
;;