- 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
This commit is contained in:
Warren Baird 2004-10-19 21:37:09 +00:00 committed by Alexandre Julliard
parent bbde53fb02
commit 1023fe300a
2 changed files with 4 additions and 2 deletions

3
configure vendored
View File

@ -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

View File

@ -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