Ticket #59515: patch-config-mh-darwin.diff

File patch-config-mh-darwin.diff, 1.0 KB (added by RJVB (René Bertin), 2 years ago)

current version for ICU 71; works with all ar variants/versions

  • config/mh-darwin

    old new  
    1919LD_FLAGS += -headerpad_max_install_names
    2020
    2121# We do not need to see the stderr message that the archive was made.
    22 ARFLAGS += -c
     22ARFLAGS := $(addsuffix c,$(ARFLAGS))
    2323
    2424## Commands to compile
    2525COMPILE.c=      $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -fno-common -c
     
    3030SHLIB.cc=       $(CXX) -dynamiclib -dynamic $(CXXFLAGS) $(LDFLAGS) $(LD_SOOPTIONS)
    3131
    3232## Compiler switches to embed a library name and version information
    33 ifeq ($(ENABLE_RPATH),YES)
    3433LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET))
    35 else
    36 LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(notdir $(MIDDLE_SO_TARGET)) $(PKGDATA_TRAILING_SPACE)
    37 endif
    3834
    3935## Compiler switch to embed a runtime search path
    4036LD_RPATH=