diff --git a/configure b/configure index 3462dacbfd4ae539811037f67bd47870ce039309..f76a9c89fccf1704e000e9091f23277b58d7d263 100755 --- a/configure +++ b/configure @@ -14081,7 +14081,8 @@ echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6 if test "$ac_cv_c_dll_hpux" = "yes" then LIBEXT="sl" - LDDLLFLAGS="-shared" + DLLEXT=".sl" + LDDLLFLAGS="-shared -fPIC" LDSHARED="\$(CC) -shared" fi fi diff --git a/configure.ac b/configure.ac index 9a12968bfded588a30d29185b7b7adfa0d7b214b..9705e28869e4ae64eee208438e105d51c29955ea 100644 --- a/configure.ac +++ b/configure.ac @@ -967,7 +967,8 @@ case $host_os in if test "$ac_cv_c_dll_hpux" = "yes" then LIBEXT="sl" - LDDLLFLAGS="-shared" + DLLEXT=".sl" + LDDLLFLAGS="-shared -fPIC" LDSHARED="\$(CC) -shared" fi fi