%{prefix}/lib/pkgconfig is split in -dev.
parent
ccfa8752d2
commit
f4a9814b4e
|
@ -197,7 +197,12 @@ class Package::Context
|
|||
prefixes = (@prefixes + [recipe.prefix]).uniq
|
||||
|
||||
split.name = "#{recipe.name}-dev"
|
||||
split.files = prefixes.map { |x| "#{x}/include" }
|
||||
split.files = prefixes.map do |prefix|
|
||||
[
|
||||
"#{prefix}/include",
|
||||
"#{prefix}/lib/pkgconfig"
|
||||
]
|
||||
end.flatten
|
||||
split.file_patterns = prefixes.map do |prefix|
|
||||
Regex.new("^" + prefix + ".*\\.a$")
|
||||
end
|
||||
|
|
Reference in New Issue