summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-49.1-PATCHES/patch-11-CURR_FULL_DIR
blob: 90da4f41268ea2ce5253d34c67fd8e086c4cf47d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
	When cross compiling, e.g., Unix => mingw CURR_FULL_DIR must
	certainly be that for the native (Unix) system and not that for
	the build (mingw) system.

diff -ur icu-49.rc.orig/source/Makefile.in icu-49.rc/source/Makefile.in
--- icu-49.rc.orig/source/Makefile.in	2012-03-02 23:14:56.000000000 +0100
+++ icu-49.rc/source/Makefile.in	2012-03-03 17:25:30.000000000 +0100
@@ -221,6 +221,8 @@
 config/icucross.mk: $(top_builddir)/icudefs.mk  $(top_builddir)/Makefile
 	@echo rebuilding $@
 	@(echo "CROSS_ICU_VERSION=$(VERSION)" ;\
+	  grep '^CURR_FULL_DIR' $(top_builddir)/icudefs.mk ;\
+	  grep '^CURR_FULL_DIR' @platform_make_fragment@ ;\
 	  echo "TOOLEXEEXT=$(EXEEXT)" \
 	   ) > $@
 	@(echo 'TOOLBINDIR=$$(cross_buildroot)/bin' ;\
diff -ur icu-49.rc.orig/source/icudefs.mk.in icu-49.rc/source/icudefs.mk.in
--- icu-49.rc.orig/source/icudefs.mk.in	2012-03-02 23:14:56.000000000 +0100
+++ icu-49.rc/source/icudefs.mk.in	2012-03-03 17:25:30.000000000 +0100
@@ -221,6 +221,7 @@
 TOOLBINDIR=$(BINDIR)
 TOOLLIBDIR=$(LIBDIR)
 
+# overridden by icucross.mk and maybe by config/mh-*.
 # Current full path directory.
 CURR_FULL_DIR=$(shell pwd | sed 's/ /\\ /g')
 # Current full path directory for use in source code in a -D compiler option.