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:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user