aboutsummaryrefslogtreecommitdiff
path: root/gprof/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/configure')
-rwxr-xr-xgprof/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/gprof/configure b/gprof/configure
index fba4710..c702138 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -759,6 +759,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)'
;;