mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Copy libgit2 dylib and update using install_name_tool
This commit is contained in:
committed by
Corey Johnson
parent
3772a4ce1b
commit
ef00ba934f
18
atom.gyp
18
atom.gyp
@@ -140,6 +140,12 @@
|
||||
'native/frameworks/CocoaOniguruma.framework',
|
||||
],
|
||||
},
|
||||
{
|
||||
'destination': '<(PRODUCT_DIR)/Atom.app/Contents/Frameworks/libgit2.framework/Libraries',
|
||||
'files': [
|
||||
'git2/frameworks/libgit2.0.17.0.dylib',
|
||||
],
|
||||
},
|
||||
],
|
||||
'postbuilds': [
|
||||
{
|
||||
@@ -320,7 +326,7 @@
|
||||
# (DYLIB_INSTALL_NAME_BASE) relative to the main executable
|
||||
# (chrome). A different relative path needs to be used in
|
||||
# atom_helper_app.
|
||||
'postbuild_name': 'Fix Framework Link',
|
||||
'postbuild_name': 'Fix CEF Framework Link',
|
||||
'action': [
|
||||
'install_name_tool',
|
||||
'-change',
|
||||
@@ -329,6 +335,16 @@
|
||||
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
||||
],
|
||||
},
|
||||
{
|
||||
'postbuild_name': 'Fix libgit2 Framework Link',
|
||||
'action': [
|
||||
'install_name_tool',
|
||||
'-change',
|
||||
'@executable_path/libgit2.0.17.0.dylib',
|
||||
'@executable_path/../../../../Frameworks/libgit2.framework/Libraries/libgit2.0.17.0.dylib',
|
||||
'${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
|
||||
],
|
||||
},
|
||||
{
|
||||
'postbuild_name': 'Copy and Compile Static Files',
|
||||
'action': [
|
||||
|
||||
Reference in New Issue
Block a user