diff --git a/configure b/configure index 82162e94b2..93364deaf3 100755 --- a/configure +++ b/configure @@ -33864,7 +33864,7 @@ rm -f core conftest.err conftest.$ac_objext \ DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@" cat <change-install-names #!/bin/sh -libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\` +libnames=\`cd lib ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\` changes='' for dep in \${libnames} ; do changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}" diff --git a/configure.in b/configure.in index 1af9b74405..353d1f5627 100644 --- a/configure.in +++ b/configure.in @@ -4027,7 +4027,7 @@ if test "$wxUSE_SHARED" = "yes"; then DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@" cat <change-install-names #!/bin/sh -libnames=\`cd \${1} ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\` +libnames=\`cd lib ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\` changes='' for dep in \${libnames} ; do changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"