aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2015-01-24 18:41:02 +0100
committermontellese <montellese@xbmc.org>2015-02-02 10:31:50 +0100
commit3940a8ef88d9e738dee5476978f736bb6de8e78f (patch)
tree18b0034ed0607147ad27783800b851c70a47bef2 /tools
parent8e3c2fd93b5651019c035a136c9e0efc1d8a387f (diff)
[depends] fix missing DEPENDS_PATH definition for non-darwin builds
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/xbmc-addons.include14
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/depends/xbmc-addons.include b/tools/depends/xbmc-addons.include
index 5f0822dfdf..4b7281beb3 100644
--- a/tools/depends/xbmc-addons.include
+++ b/tools/depends/xbmc-addons.include
@@ -7,10 +7,16 @@ endif
CMAKE_EXTRA =
ifeq (darwin, $(findstring darwin, $(HOST)))
- INSTALL_PREFIX = ../../../../../addons/
- CMAKE_EXTRA = -DPACKAGE_ZIP=1 -DDEPENDS_PATH=$(PREFIX)
-else ifneq ($(PREFIX),)
- INSTALL_PREFIX = $(PREFIX)
+ INSTALL_PREFIX = ../../../../../addons/
+ CMAKE_EXTRA = -DPACKAGE_ZIP=1
+endif
+
+ifneq ($(PREFIX),)
+ ifneq (darwin, $(findstring darwin, $(HOST)))
+ INSTALL_PREFIX = $(PREFIX)
+ endif
+
+ CMAKE_EXTRA += -DDEPENDS_PATH=$(PREFIX)
endif
all: .installed-$(PLATFORM)