From 1023fe300a4f9a66fe5b15a2e6c3a34e79d588d3 Mon Sep 17 00:00:00 2001 From: Warren Baird Date: Tue, 19 Oct 2004 21:37:09 +0000 Subject: [PATCH] - added -fPIC to the LDDLLFLAGS line for HPUX; winegcc needs to pass -fPIC to the link line to keep the hp linker happy - set DLLEXT to .sl on HPUX --- configure | 3 ++- configure.ac | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 3462dacbfd4..f76a9c89fcc 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 9a12968bfde..9705e28869e 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 -- 2.11.4.GIT