correction to shared library build command for HP (needs -fPIC to link)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-01-11 19:54:03 +00:00
parent 295272bdcd
commit d569ea8dfb
2 changed files with 316 additions and 312 deletions

624
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -2562,7 +2562,9 @@ if test "$wxUSE_SHARED" = "yes"; then
case "${host}" in
*-hp-hpux* )
dnl default settings are good for gcc but not for the native HP-UX
if test "$GCC" != "yes"; then
if test "$GCC" == "yes"; then
SHARED_LD="${SHARED_LD} ${PIC_FLAG}"
else
dnl no idea why it wants it, but it does
LDFLAGS="$LDFLAGS -L/usr/lib"