fix osxapp build issue
need to build git-annex 1st, otherwise otool can't run
This commit is contained in:
parent
ae325018eb
commit
ae954312ab
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -206,6 +206,7 @@ dpkg-buildpackage%: prep-standalone
|
||||||
OSXAPP_DEST=tmp/build-dmg/git-annex.app
|
OSXAPP_DEST=tmp/build-dmg/git-annex.app
|
||||||
OSXAPP_TOP=$(OSXAPP_DEST)/Contents/MacOS/bundle
|
OSXAPP_TOP=$(OSXAPP_DEST)/Contents/MacOS/bundle
|
||||||
osxapp:
|
osxapp:
|
||||||
|
$(MAKE) git-annex
|
||||||
# Remove all RPATHs, both because this overloads the linker on
|
# Remove all RPATHs, both because this overloads the linker on
|
||||||
# OSX Sierra, and to avoid the binary looking in someone's home
|
# OSX Sierra, and to avoid the binary looking in someone's home
|
||||||
# directory.
|
# directory.
|
||||||
|
@ -213,7 +214,7 @@ osxapp:
|
||||||
eval install_name_tool $$(otool -l git-annex | grep "path " | sed 's/.*path /-delete_rpath /' | sed 's/ (.*//') git-annex; \
|
eval install_name_tool $$(otool -l git-annex | grep "path " | sed 's/.*path /-delete_rpath /' | sed 's/ (.*//') git-annex; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$(MAKE) git-annex Build/Standalone
|
$(MAKE) Build/Standalone
|
||||||
./Build/Standalone $(OSXAPP_TOP) $(OSXAPP_DEST)
|
./Build/Standalone $(OSXAPP_TOP) $(OSXAPP_DEST)
|
||||||
|
|
||||||
gzcat standalone/licences.gz > $(OSXAPP_TOP)/LICENSE
|
gzcat standalone/licences.gz > $(OSXAPP_TOP)/LICENSE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue