diff options
author | wsnipex <wsnipex@a1.net> | 2016-09-18 19:01:05 +0200 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2016-09-18 19:01:41 +0200 |
commit | df199617c2ac4928906772b508773946db52a505 (patch) | |
tree | bcaaa3aab308b100d74ed437e8221ccd2f1da3c8 /tools/depends/xbmc-addons.include | |
parent | 17b5b3b6ea88e1330a6ebbf89bf63aaeacf681a1 (diff) |
[depends] fix binary-addon install when not cross-compiling
Diffstat (limited to 'tools/depends/xbmc-addons.include')
-rw-r--r-- | tools/depends/xbmc-addons.include | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/depends/xbmc-addons.include b/tools/depends/xbmc-addons.include index 42c58313b0..5eb06d2001 100644 --- a/tools/depends/xbmc-addons.include +++ b/tools/depends/xbmc-addons.include @@ -27,7 +27,7 @@ endif ifneq ($(PREFIX),) ifneq (darwin, $(findstring darwin, $(HOST))) - INSTALL_PREFIX = $(PREFIX) + INSTALL_PREFIX = $(PREFIX) -DOVERRIDE_PATHS=ON endif CMAKE_EXTRA += -DAUTOCONF_FILES="$(CONFIG_SUB) $(CONFIG_GUESS)" @@ -67,7 +67,7 @@ endif done ifneq ($(CROSS_COMPILING),yes) @[ -f $(ADDON_PROJECT_DIR)/.failure ] && echo "Following Addons failed to build:" $(shell cat $(ADDON_PROJECT_DIR)/.failure) || : - @[ -w $(INSTALL_PREFIX) ] || { cd $(PLATFORM); $(MAKE) need-sudo | grep -q TRUE && $(MAKE) sudo-install || $(MAKE) install ;} + @cd $(PLATFORM); $(MAKE) need-sudo | grep -q TRUE && $(MAKE) sudo-install || : endif touch $@ |