Fix search path of ffmpeg

It is somehow set to @load_path by Chromium.
This commit is contained in:
Cheng Zhao 2015-08-11 10:55:27 +08:00
parent bc06195409
commit 2dc533c4b9

View file

@ -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': [