Don't touch non-wx libraries in "make install" under Mac
Only run install_name_tool on our own libraries as part of "make install" instead of doing it on all libraries in the installation directory: this was at best useless and at worst harmful, as some combinations of install_name_tool and macOS versions don't work well together and result in corrupting the already installed libraries.
This commit is contained in:
parent
73dc9086f5
commit
7d31e055c4
2
configure
vendored
2
configure
vendored
@ -33864,7 +33864,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 \${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}"
|
||||
|
@ -4027,7 +4027,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 \${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}"
|
||||
|
Loading…
Reference in New Issue
Block a user