From: Cheng Zhao Date: Tue, 11 Aug 2015 02:55:27 +0000 (+0800) Subject: Fix search path of ffmpeg X-Git-Tag: v0.31.0~2^2~37 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2dc533c4b9370e488f87d37c56737064ad2701a5;p=electron.git Fix search path of ffmpeg It is somehow set to @load_path by Chromium. --- diff --git a/atom.gyp b/atom.gyp index 99ae1245..cabb43d4 100644 --- a/atom.gyp +++ b/atom.gyp @@ -459,6 +459,16 @@ '${BUILT_PRODUCTS_DIR}/<(product_name) Framework.framework/Versions/A/<(product_name) Framework', ], }, + { + 'postbuild_name': 'Fix path of ffmpeg', + 'action': [ + 'install_name_tool', + '-change', + '@loader_path/libffmpeg.dylib', + '@rpath/libffmpeg.dylib', + '${BUILT_PRODUCTS_DIR}/<(product_name) Framework.framework/Versions/A/<(product_name) Framework', + ], + }, { 'postbuild_name': 'Add symlinks for framework subdirectories', 'action': [