No install_name_tool on OS X 10.1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell 2005-05-26 16:48:32 +00:00
parent ce32683b97
commit 0caebc27b4
2 changed files with 12 additions and 6 deletions

9
configure vendored
View File

@ -29901,8 +29901,10 @@ rm -f conftest.err conftest.$ac_objext \
;;
powerpc-*-darwin* )
SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
cat <<EOF >change-install-names
install_name_tool=`which install_name_tool`
if test "$install_name_tool" -a -x "$install_name_tool"; then
SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
cat <<EOF >change-install-names
#!/bin/sh
libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
inst_cmd="install_name_tool "
@ -29911,7 +29913,8 @@ for i in \${libnames} ; do
done
\${inst_cmd} \${3}
EOF
chmod +x change-install-names
chmod +x change-install-names
fi
;;
*-*-cygwin* | *-*-mingw32* )

View File

@ -3551,8 +3551,10 @@ if test "$wxUSE_SHARED" = "yes"; then
;;
powerpc-*-darwin* )
SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
cat <<EOF >change-install-names
install_name_tool=`which install_name_tool`
if test "$install_name_tool" -a -x "$install_name_tool"; then
SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
cat <<EOF >change-install-names
#!/bin/sh
libnames=\`cd \${1} ; ls -1 | grep '\.[[0-9]][[0-9]]*\.dylib\$'\`
inst_cmd="install_name_tool "
@ -3561,7 +3563,8 @@ for i in \${libnames} ; do
done
\${inst_cmd} \${3}
EOF
chmod +x change-install-names
chmod +x change-install-names
fi
;;
*-*-cygwin* | *-*-mingw32* )