From b4ef04a54868e37e774e79af349dda7adab25f4e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 19 Apr 2012 04:18:06 +0000 Subject: switch to using @loader_path in dylibs to result in shorter paths, so we don't run into the error 'install_name_tool: changing install names can't be redone for: libvorbisenc.2.dylib (for architecture ppc) because larger updated load commands do not fit (the program must be relinked)' svn path=/trunk/; revision=16127 --- packages/darwin_app/embed-MacOSX-dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/darwin_app/embed-MacOSX-dependencies.sh b/packages/darwin_app/embed-MacOSX-dependencies.sh index 0ac4363f..fe2884ec 100755 --- a/packages/darwin_app/embed-MacOSX-dependencies.sh +++ b/packages/darwin_app/embed-MacOSX-dependencies.sh @@ -72,7 +72,7 @@ for dylib in $PD_APP_LIB/*.dylib; do fi # @executable_path starts from Contents/Resources/bin/pd install_name_tool -id @executable_path/../../$LIB_DIR/$new_lib $PD_APP_LIB/$new_lib - install_name_tool -change /sw/lib/$lib @executable_path/../../$LIB_DIR/$new_lib $dylib + install_name_tool -change /sw/lib/$lib @loader_path/$new_lib $dylib done echo " " fi @@ -93,7 +93,7 @@ for dylib in $PD_APP_LIB/*.dylib; do fi # @executable_path starts from Contents/Resources/bin/pd install_name_tool -id @executable_path/../../$LIB_DIR/$new_lib $PD_APP_LIB/$new_lib - install_name_tool -change /sw/lib/$lib @executable_path/../../$LIB_DIR/$new_lib $dylib + install_name_tool -change /sw/lib/$lib @loader_path/$new_lib $dylib done echo " " fi -- cgit v1.2.1