add linux's binary_executable_or_library_files to keg

This commit is contained in:
hyuraku 2023-01-26 21:41:45 +09:00
parent 9241def1a2
commit 3f553a8ead
3 changed files with 16 additions and 2 deletions

View File

@ -1,4 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "extend/os/mac/keg" if OS.mac? if OS.mac?
require "extend/os/mac/keg"
elsif OS.linux?
require "extend/os/linux/keg"
end

View File

@ -0,0 +1,10 @@
# typed: false
# frozen_string_literal: true
class Keg
undef binary_executable_or_library_files
def binary_executable_or_library_files
elf_files
end
end

View File

@ -530,7 +530,7 @@ class Keg
end end
def binary_executable_or_library_files def binary_executable_or_library_files
elf_files []
end end
def codesign_patched_binary(file); end def codesign_patched_binary(file); end