]> granicus.if.org Git - icu/commitdiff
ICU-9456 Now I remember why ln -sf does not work. Reverting this part of the change.
authorGeorge Rhoten <grhoten@users.noreply.github.com>
Wed, 8 Aug 2012 05:00:02 +0000 (05:00 +0000)
committerGeorge Rhoten <grhoten@users.noreply.github.com>
Wed, 8 Aug 2012 05:00:02 +0000 (05:00 +0000)
X-SVN-Rev: 32121

icu4c/source/config/mh-darwin

index b40b92f2c90952d00b1434b693c882a309a2b226..0d47157c2aebd170af470fd03c67fa3292421180 100644 (file)
@@ -75,9 +75,9 @@ MIDDLE_SO_TARGET= $(basename $(SO_TARGET)).$(SO_TARGET_VERSION_MAJOR).$(SO)
 ## Versioned libraries rules
 
 %.$(SO_TARGET_VERSION_MAJOR).$(SO): %.$(SO_TARGET_VERSION).$(SO)
-       ln -sf ${<F} $@
+       $(RM) $@ && ln -s ${<F} $@
 %.$(SO): %.$(SO_TARGET_VERSION_MAJOR).$(SO)
-       ln -sf ${*F}.$(SO_TARGET_VERSION).$(SO) $@
+       $(RM) $@ && ln -s ${*F}.$(SO_TARGET_VERSION).$(SO) $@
 
 # tzcode option
 TZORIG_EXTRA_CFLAGS=-DSTD_INSPIRED