LD64Dependency: super before setting env proc
Otherwise super will overwrite @env_proc with the default value.
This commit is contained in:
parent
da0df8eabe
commit
0475dbe5cc
@ -5,7 +5,7 @@ require 'dependency'
|
|||||||
# that comes with the OS.
|
# that comes with the OS.
|
||||||
class LD64Dependency < Dependency
|
class LD64Dependency < Dependency
|
||||||
def initialize(name='ld64', tags=[:build], env_proc=nil)
|
def initialize(name='ld64', tags=[:build], env_proc=nil)
|
||||||
@env_proc = proc { ENV.ld64 }
|
|
||||||
super
|
super
|
||||||
|
@env_proc = proc { ENV.ld64 }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user