]> git.saurik.com Git - wxWidgets.git/commitdiff
'rpath' for hpux
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 9 Feb 2005 18:44:54 +0000 (18:44 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 9 Feb 2005 18:44:54 +0000 (18:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 37c4bf697be6f376866de4c0a65715fa6af9908a..0517498b6311318242723896ff3bc1b232687e29 100644 (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