aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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)