Ticket #36693: patch-configure.diff
File patch-configure.diff, 1.2 KB (added by s_lessard@…, 12 years ago) |
---|
-
configure
old new 3046 3046 add_extralibs -lpoll -lgnugetopt 3047 3047 strip="strip -d" 3048 3048 ;; 3049 3049 darwin) 3050 3050 gas="gas-preprocessor.pl $cc" 3051 3051 enabled ppc && add_asflags -force_cpusubtype_ALL 3052 SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)' 3052 build_os_ver=$(uname -r) 3053 if test ${build_os_ver:0:1} = 8; then 3054 SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION)' 3055 else 3056 SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR)' 3057 fi 3053 3058 enabled x86_32 && append SHFLAGS -Wl,-read_only_relocs,suppress 3054 3059 strip="${strip} -x" 3055 3060 add_ldflags -Wl,-dynamic,-search_paths_first 3056 3061 SLIBSUF=".dylib" 3057 3062 SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME).$(LIBVERSION)$(SLIBSUF)' 3058 3063 SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME).$(LIBMAJOR)$(SLIBSUF)'