mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	comment about the situation [ci skip]
This commit is contained in:
		
							parent
							
								
									737e4432b9
								
							
						
					
					
						commit
						82d425515d
					
				
				
				Notes:
				
					git
				
				2021-07-07 20:31:48 +09:00 
				
			
			
			
		
		
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -3383,6 +3383,12 @@ AS_CASE("$enable_shared", [yes], [
 | 
				
			||||||
  AC_DEFINE_UNQUOTED(LIBDIR_BASENAME, ["${libdir_basename}"])
 | 
					  AC_DEFINE_UNQUOTED(LIBDIR_BASENAME, ["${libdir_basename}"])
 | 
				
			||||||
  libdir_basename="${libdir_basename}"${multiarch+'/${arch}'}
 | 
					  libdir_basename="${libdir_basename}"${multiarch+'/${arch}'}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Debian bullseye reportedly has its ld(1) patched, which breaks
 | 
				
			||||||
 | 
					  # --enable-shared --with-jemalloc combination.  We might have to deal with
 | 
				
			||||||
 | 
					  # the ld(1) change sooner or later, but in the meantime let us force it
 | 
				
			||||||
 | 
					  # the old way.
 | 
				
			||||||
 | 
					  #
 | 
				
			||||||
 | 
					  # See https://github.com/ruby/ruby/pull/4627
 | 
				
			||||||
  RUBY_TRY_LDFLAGS([${linker_flag}--no-as-needed], [no_as_needed=yes], [no_as_needed=no])
 | 
					  RUBY_TRY_LDFLAGS([${linker_flag}--no-as-needed], [no_as_needed=yes], [no_as_needed=no])
 | 
				
			||||||
  AS_IF([test "$no_as_needed" = yes], [
 | 
					  AS_IF([test "$no_as_needed" = yes], [
 | 
				
			||||||
      RUBY_APPEND_OPTIONS(LDFLAGS, [${linker_flag}--no-as-needed])
 | 
					      RUBY_APPEND_OPTIONS(LDFLAGS, [${linker_flag}--no-as-needed])
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue