mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
Doc libgit2 build and verification steps in update script
This commit is contained in:
@@ -1,4 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
# From root of libgit2 repo:
|
||||
# mkdir build
|
||||
# cd build
|
||||
# cmake .. -DCMAKE_INSTALL_PREFIX=~/repos/atom/git2 -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" -DCMAKE_BUILD_TYPE=Release
|
||||
# cmake --build . --target install
|
||||
#
|
||||
# From root of atom repo:
|
||||
# mv git2/lib/libgit2.0.17.0.dylib git2/frameworks/libgit2.0.17.0.dylib
|
||||
# rm -fr git2/lib
|
||||
# script/update-libgit2
|
||||
|
||||
# update the id of the dylib
|
||||
install_name_tool -id @executable_path/libgit2.0.17.0.dylib git2/frameworks/libgit2.0.17.0.dylib
|
||||
|
||||
# Verify @executable_path is in the output of:
|
||||
# otool -L git2/frameworks/libgit2.0.17.0.dylib
|
||||
|
||||
Reference in New Issue
Block a user