diff --git a/configure b/configure index 3445c8262c..76fbe0ce42 100755 --- a/configure +++ b/configure @@ -20609,6 +20609,12 @@ fi SO_LDFLAGS="-G -z text" SO_LD="ld" ;; #( + ia64-hp-hpux*) : + + SO_CFLAGS="+z" + SO_LDFLAGS="-b" + SO_LD="${CC}" + ;; #( *) : SO_CFLAGS="-fPIC" diff --git a/configure.ac b/configure.ac index 7ec01abfa4..7a76ace3b1 100644 --- a/configure.ac +++ b/configure.ac @@ -2604,6 +2604,11 @@ AS_IF([test "$with_dlopen" = "yes"], SO_LDFLAGS="-G -z text" SO_LD="ld" ], + [ia64-hp-hpux*],[ + SO_CFLAGS="+z" + SO_LDFLAGS="-b" + SO_LD="${CC}" + ], [ SO_CFLAGS="-fPIC" ])