add linux's binary_executable_or_library_files to keg
This commit is contained in:
parent
9241def1a2
commit
3f553a8ead
@ -1,4 +1,8 @@
|
||||
# typed: strict
|
||||
# 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
|
||||
|
||||
10
Library/Homebrew/extend/os/linux/keg.rb
Normal file
10
Library/Homebrew/extend/os/linux/keg.rb
Normal 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
|
||||
@ -530,7 +530,7 @@ class Keg
|
||||
end
|
||||
|
||||
def binary_executable_or_library_files
|
||||
elf_files
|
||||
[]
|
||||
end
|
||||
|
||||
def codesign_patched_binary(file); end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user