Fix search path of ffmpeg
It is somehow set to @load_path by Chromium.
This commit is contained in:
parent
bc06195409
commit
2dc533c4b9
1 changed files with 10 additions and 0 deletions
10
atom.gyp
10
atom.gyp
|
@ -459,6 +459,16 @@
|
||||||
'${BUILT_PRODUCTS_DIR}/<(product_name) Framework.framework/Versions/A/<(product_name) Framework',
|
'${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',
|
'postbuild_name': 'Add symlinks for framework subdirectories',
|
||||||
'action': [
|
'action': [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue