Add methods to ArchitectureListExtension
This commit is contained in:
parent
8b4645d895
commit
43f77f6ad0
@ -145,6 +145,15 @@ module ArchitectureListExtension
|
|||||||
def universal?
|
def universal?
|
||||||
self.include? :i386 and self.include? :x86_64
|
self.include? :i386 and self.include? :x86_64
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def remove_ppc!
|
||||||
|
self.delete :ppc7400
|
||||||
|
self.delete :ppc64
|
||||||
|
end
|
||||||
|
|
||||||
|
def as_arch_flags
|
||||||
|
self.collect{ |a| "-arch #{a}" }.join(' ')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns array of architectures that the given command or library is built for.
|
# Returns array of architectures that the given command or library is built for.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user