aboutsummaryrefslogtreecommitdiff
path: root/pkgbuild/icu/0002-config-mh-darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgbuild/icu/0002-config-mh-darwin.patch')
-rw-r--r--pkgbuild/icu/0002-config-mh-darwin.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgbuild/icu/0002-config-mh-darwin.patch b/pkgbuild/icu/0002-config-mh-darwin.patch
new file mode 100644
index 0000000..16b7b77
--- /dev/null
+++ b/pkgbuild/icu/0002-config-mh-darwin.patch
@@ -0,0 +1,14 @@
+--- source/config/mh-darwin.orig 2016-06-15 13:58:17.000000000 -0500
++++ source/config/mh-darwin 2017-02-11 09:37:32.000000000 -0600
+@@ -30,11 +30,7 @@
+ SHLIB.cc= $(CXX) -dynamiclib -dynamic $(CXXFLAGS) $(LDFLAGS) $(LD_SOOPTIONS)
+
+ ## Compiler switches to embed a library name and version information
+-ifeq ($(ENABLE_RPATH),YES)
+ LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET))
+-else
+-LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(notdir $(MIDDLE_SO_TARGET))
+-endif
+
+ ## Compiler switch to embed a runtime search path
+ LD_RPATH=