aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorbeenje <beenje@xbmc.org>2011-05-31 21:22:08 +0200
committerbeenje <beenje@xbmc.org>2011-05-31 21:22:08 +0200
commit0426ba11c03a8641293dea5c56cdb47a23df5881 (patch)
tree6bd9685549551981260f5a14e6c939335d36331a /tools
parent4ef02ed5f76fd107046c63c7274526ed3e89f6e6 (diff)
[osx/ios] fixed darwin depends: patch for gettext is only for ios
Diffstat (limited to 'tools')
-rw-r--r--tools/darwin/depends/gettext/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/darwin/depends/gettext/Makefile b/tools/darwin/depends/gettext/Makefile
index 24eefa5f41..006011b31f 100644
--- a/tools/darwin/depends/gettext/Makefile
+++ b/tools/darwin/depends/gettext/Makefile
@@ -28,7 +28,7 @@ $(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
echo $(SOURCE) > .gitignore
cd $(SOURCE); patch -p0 <../01-gettext-tools-Makefile.in.patch
- if [ "$(SDK)" != "4.2" ]; then \
+ if [ "$(DARWIN)" = "ios" ] && [ "$(SDK)" != "4.2" ]; then \
cd $(SOURCE); patch -p1 <../02-gettext-tools-stpncpy.patch; \
fi
cd $(SOURCE); $(CONFIGURE)