summaryrefslogtreecommitdiff
path: root/icu/icu4c-aix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'icu/icu4c-aix.patch')
-rw-r--r--icu/icu4c-aix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/icu/icu4c-aix.patch b/icu/icu4c-aix.patch
index aedaae12adbd..0cd19975fa1d 100644
--- a/icu/icu4c-aix.patch
+++ b/icu/icu4c-aix.patch
@@ -111,3 +111,18 @@
## Compilation rules
%.$(STATIC_O): $(srcdir)/%.c
+@@ -118,10 +61,10 @@
+ [ -s $@ ] || rm -f $@'
+
+ ## Versioned libraries rules
+-%$(SO_TARGET_VERSION_MAJOR).$(SO): %$(SO_TARGET_VERSION).$(SO)
+- $(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
+-%.$(SO): %$(SO_TARGET_VERSION).$(SO)
+- $(RM) $@ && ln -s ${*F}$(SO_TARGET_VERSION).$(SO) $@
++%.$(SO).$(SO_TARGET_VERSION_MAJOR): %.$(SO).$(SO_TARGET_VERSION)
++ $(RM) $@ && ln -s ${<F} $@
++%.$(SO): %.$(SO).$(SO_TARGET_VERSION_MAJOR)
++ $(RM) $@ && ln -s ${*F}.$(SO).$(SO_TARGET_VERSION) $@
+
+
+ ## BIR - bind with internal references [so app data and icu data doesn't collide]