diff options
| author | ruki <[email protected]> | 2021-10-25 16:34:07 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-25 16:34:07 +0800 |
| commit | df89676a5a905ced4cae2be987742c1d4d91c563 (patch) | |
| tree | 7540d65aa51ae7010e54f9298e9d2d5fd4774ca9 | |
| parent | e678a046088bf328c0a6ce9b919b5e6a00bbad0c (diff) | |
Fix install for mac M1
| -rw-r--r-- | makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,7 +117,8 @@ install: @if [ ! -d $(destdir)/bin ]; then mkdir -p $(destdir)/bin; fi @# install the xmake directory @cp -r xmake/* $(xmake_dir_install) - @# install the xmake core file + @# install the xmake core file, @note we need remove old binary first on mac M1, otherwise it will be killed + @if [ -f $(xmake_core_install) ]; then rm $(xmake_core_install); fi @cp -p $(xmake_core) $(xmake_core_install) @chmod 755 $(xmake_core_install) @# install the xrepo bin file |
