Archived
3
0

%{prefix}/lib/pkgconfig is split in -dev.

This commit is contained in:
Luka Vandervelden 2019-08-29 15:12:26 +02:00
parent ccfa8752d2
commit f4a9814b4e

View File

@ -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