@@ -25,8 +25,6 @@ def self.change_dylib_id(filename, new_id, options = {})
25
25
26
26
file . change_dylib_id ( new_id , options )
27
27
file . write!
28
-
29
- MachO . codesign! ( filename )
30
28
end
31
29
32
30
# Changes a shared library install name in a Mach-O or Fat binary,
@@ -43,8 +41,6 @@ def self.change_install_name(filename, old_name, new_name, options = {})
43
41
44
42
file . change_install_name ( old_name , new_name , options )
45
43
file . write!
46
-
47
- MachO . codesign! ( filename )
48
44
end
49
45
50
46
# Changes a runtime path in a Mach-O or Fat binary, overwriting the source
@@ -61,8 +57,6 @@ def self.change_rpath(filename, old_path, new_path, options = {})
61
57
62
58
file . change_rpath ( old_path , new_path , options )
63
59
file . write!
64
-
65
- MachO . codesign! ( filename )
66
60
end
67
61
68
62
# Add a runtime path to a Mach-O or Fat binary, overwriting the source file.
@@ -77,8 +71,6 @@ def self.add_rpath(filename, new_path, options = {})
77
71
78
72
file . add_rpath ( new_path , options )
79
73
file . write!
80
-
81
- MachO . codesign! ( filename )
82
74
end
83
75
84
76
# Delete a runtime path from a Mach-O or Fat binary, overwriting the source
@@ -94,8 +86,6 @@ def self.delete_rpath(filename, old_path, options = {})
94
86
95
87
file . delete_rpath ( old_path , options )
96
88
file . write!
97
-
98
- MachO . codesign! ( filename )
99
89
end
100
90
101
91
# Merge multiple Mach-Os into one universal (Fat) binary.
@@ -116,8 +106,6 @@ def self.merge_machos(filename, *files, fat64: false)
116
106
117
107
fat_macho = MachO ::FatFile . new_from_machos ( *machos , :fat64 => fat64 )
118
108
fat_macho . write ( filename )
119
-
120
- MachO . codesign! ( filename )
121
109
end
122
110
end
123
111
end
0 commit comments