'rpath' for hpux

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2005-02-09 18:44:54 +00:00
parent a03ae1721d
commit 2fc79cf212

View File

@ -3422,6 +3422,11 @@ EOF
TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
;;
*-*-hpux* )
SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
WXCONFIG_RPATH="-Wl,+b,\$libdir"
;;
esac
if test $wxUSE_RPATH = "no"; then
@ -3652,8 +3657,8 @@ if test "$wx_cv_sizeof_wchar_t" != "0"; then
AC_DEFINE(HAVE_WCSLEN)
fi
dnl HP-UX aCC needs this define to find mbstrtowcs() &c
if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
dnl on HP-UX aCC and g++ need this define to find mbstrtowcs() &c
if test "$USE_HPUX" = 1; then
CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
fi