diff --git a/icu/icu4c-build.patch b/icu/icu4c-build.patch index 9920f7a61eec..e5e4bd9b10a0 100644 --- a/icu/icu4c-build.patch +++ b/icu/icu4c-build.patch @@ -27,7 +27,7 @@ ## Compiler switches to embed a library name and version information -LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(notdir $(MIDDLE_SO_TARGET)) -+LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name @executable_path/$(notdir $(FINAL_SO_TARGET)) ++LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name @executable_path/$(notdir $(MIDDLE_SO_TARGET)) ## Compiler switch to embed a runtime search path LD_RPATH= diff --git a/icu/makefile.mk b/icu/makefile.mk index 32b57191fff0..8dda4b894bc0 100644 --- a/icu/makefile.mk +++ b/icu/makefile.mk @@ -102,8 +102,7 @@ LDFLAGSADD += -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic- CONFIGURE_DIR=source CONFIGURE_ACTION+=sh -c 'CFLAGS="$(icu_CFLAGS)" CXXFLAGS="$(icu_CXXFLAGS)" LDFLAGS="$(icu_LDFLAGS) $(LDFLAGSADD)" \ -./configure --enable-layout --enable-static --enable-shared=yes --disable-icuio --disable-samples --disable-tests \ ---disable-extras $(DISABLE_64BIT)' +./configure --enable-layout --disable-static --enable-shared $(DISABLE_64BIT)' CONFIGURE_FLAGS= @@ -156,12 +155,8 @@ icu_LIBS= icu_LIBS+=$(MINGW_SHARED_LIBSTDCPP) .ENDIF icu_LDFLAGS+=-Wl,--enable-runtime-pseudo-reloc-v2 -CONFIGURE_ACTION+=sh -c 'CFLAGS="$(icu_CFLAGS)" CXXFLAGS="$(icu_CXXFLAGS)" LDFLAGS="$(icu_LDFLAGS) $(LDFLAGSADD)" \ -./configure --enable-layout --enable-static --enable-shared=yes --disable-icuio --disable-samples --disable-tests \ ---disable-extras $(DISABLE_64BIT)' CONFIGURE_ACTION+=sh -c 'CFLAGS="-O -D_MT" CXXFLAGS="-O -D_MT" LDFLAGS="$(icu_LDFLAGS)" LIBS="$(icu_LIBS)" \ -./configure --build=i586-pc-mingw32 --enable-layout --enable-static --enable-shared=yes --disable-icuio \ ---disable-samples --disable-tests --disable-extras --enable-64bit-libs=no' +./configure --build=i586-pc-mingw32 --enable-layout --disable-static --enable-shared --enable-64bit-libs=no' CONFIGURE_FLAGS=