]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix install_name_tool calls in OS X "make install".
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Oct 2013 10:34:49 +0000 (10:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Oct 2013 10:34:49 +0000 (10:34 +0000)
Unfortunately the changes of r74909 (see #15452) don't seem to have been
tested and broke "make install" completely as libraries were not found in the
"bin" directory where the script was looking for them. Fix it to use "lib"
subdirectory as intended.

Closes #15551.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 7b08f61762a8a492d8cec6366f11f8d8f377578e..7697a87f25f424576c012220b5dc250f20a8794e 100755 (executable)
--- a/configure
+++ b/configure
@@ -29269,7 +29269,7 @@ rm -f core conftest.err conftest.$ac_objext \
             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
             cat <<EOF >change-install-names
 #!/bin/sh
-libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
+libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
 changes=''
 for dep in \${libnames} ; do
     changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"
index 1dafe20f860cc1026ff5355072df5bd147116b7f..1c30b387e01b28862adcee6cbaaa86ad93ca79b7 100644 (file)
@@ -3787,7 +3787,7 @@ if test "$wxUSE_SHARED" = "yes"; then
             DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
             cat <<EOF >change-install-names
 #!/bin/sh
-libnames=\`cd \${2} ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\`
+libnames=\`cd \${1} ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\`
 changes=''
 for dep in \${libnames} ; do
     changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"