Ticket #59515: patch-config-mh-darwin.diff
File patch-config-mh-darwin.diff, 1.0 KB (added by RJVB (René Bertin), 2 years ago) |
---|
-
config/mh-darwin
old new 19 19 LD_FLAGS += -headerpad_max_install_names 20 20 21 21 # We do not need to see the stderr message that the archive was made. 22 ARFLAGS += -c22 ARFLAGS := $(addsuffix c,$(ARFLAGS)) 23 23 24 24 ## Commands to compile 25 25 COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -fno-common -c … … 30 30 SHLIB.cc= $(CXX) -dynamiclib -dynamic $(CXXFLAGS) $(LDFLAGS) $(LD_SOOPTIONS) 31 31 32 32 ## Compiler switches to embed a library name and version information 33 ifeq ($(ENABLE_RPATH),YES)34 33 LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET)) 35 else36 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 endif38 34 39 35 ## Compiler switch to embed a runtime search path 40 36 LD_RPATH=