]> granicus.if.org Git - icu/commitdiff
ICU-9313 Fix build error on Cygwin/MSVC
authorMichael Ow <mow@svn.icu-project.org>
Mon, 14 May 2012 16:31:28 +0000 (16:31 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Mon, 14 May 2012 16:31:28 +0000 (16:31 +0000)
X-SVN-Rev: 31821

icu4c/source/icudefs.mk.in

index 699031ecfd193a566259173be09f211156fb3964..54d074996b814923abdd1bf2afa3b2ce35417a66 100644 (file)
@@ -266,9 +266,9 @@ INSTALLED_INVOKE = $(LDLIBRARYPATH_ENVVAR)=$(libdir):$$$(LDLIBRARYPATH_ENVVAR)
 include @platform_make_fragment@
 
 # Current full path directory.
-CURR_FULL_DIR=$(shell pwd | sed 's/ /\\ /g')
+CURR_FULL_DIR?=$(shell pwd | sed 's/ /\\ /g')
 # Current full path directory for use in source code in a -D compiler option.
-CURR_SRCCODE_FULL_DIR=$(shell pwd | sed 's/ /\\ /')
+CURR_SRCCODE_FULL_DIR?=$(shell pwd | sed 's/ /\\ /')
 
 # When shared libraries are disabled and static libraries are enabled,
 # the C++ compiler must be used to link in the libraries for the tools.