def prepare_downloaded_library
      return unless config.target_os.start_with?('darwin')

      libruby_path = Shellwords.escape(config.libruby_path)
      library_path = Shellwords.escape(config.ruby_extension_path)
      `install_name_tool -id #{library_path} #{library_path}`
      `install_name_tool -change @libruby_path@ #{libruby_path} #{library_path}`
    end
def prepare_downloaded_library
      return unless config.target_os.start_with?('darwin')

      libruby_path = Shellwords.escape(config.libruby_path)
      library_path = Shellwords.escape(config.ruby_extension_path)
      `install_name_tool -id #{library_path} #{library_path}`
      `install_name_tool -change @libruby_path@ #{libruby_path} #{library_path}`
    end
:nocov: