$NetBSD: patch-configure.in,v 1.3 2022/06/07 18:48:34 adam Exp $ Tweak SEARCH_LIB. On Darwin, do not run install_name_tool - libs should alredy have correct id. --- configure.in.orig 2022-06-06 14:23:45.000000000 +0000 +++ configure.in @@ -2273,7 +2273,7 @@ fi AC_MSG_RESULT($wx_cv_std_libfullpath) -SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath" +SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath @PREFIX@/lib" dnl Cross compiling with gcc? if test "$build" != "$host" -a "$GCC" = yes; then @@ -4035,7 +4035,6 @@ if test "$wxUSE_SHARED" = "yes"; then *-*-darwin* ) install_name_tool=`which ${HOST_PREFIX}install_name_tool` if test "$install_name_tool" -a -x "$install_name_tool"; then - DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@" cat <change-install-names #!/bin/sh libnames=\`cd lib ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\`