Consider target_prefix
in extension Makefiles
This commit is contained in:
parent
2b703eed46
commit
083e7080d1
@ -573,7 +573,12 @@ module RbInstall
|
|||||||
return [] if name.empty?
|
return [] if name.empty?
|
||||||
|
|
||||||
feature = makefile[/^DLLIB[ \t]*=[ \t]*((?:.*\\\n)*.*)/, 1]
|
feature = makefile[/^DLLIB[ \t]*=[ \t]*((?:.*\\\n)*.*)/, 1]
|
||||||
Array(feature.sub("$(TARGET)", name))
|
feature = feature.sub("$(TARGET)", name)
|
||||||
|
|
||||||
|
target_prefix = makefile[/^target_prefix[ \t]*=[ \t]*((?:.*\\\n)*.*)/, 1]
|
||||||
|
feature = File.join(target_prefix.delete_prefix("/"), feature) unless target_prefix.empty?
|
||||||
|
|
||||||
|
Array(feature)
|
||||||
end
|
end
|
||||||
|
|
||||||
def makefile_path
|
def makefile_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user