From: Michael Wetherell Date: Wed, 9 Feb 2005 18:44:54 +0000 (+0000) Subject: 'rpath' for hpux X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2fc79cf21262adc4f4963c084fcb2edc24ef717f 'rpath' for hpux git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 37c4bf697b..0517498b63 100644 --- a/configure.in +++ b/configure.in @@ -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