mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
Declare explicit dependency on manifest.xml for resources.rc
This commit is contained in:
parent
288f68e65c
commit
afd858a675
8
Rakefile
8
Rakefile
@ -161,6 +161,14 @@ rule '.o' => '.rc' do |t|
|
||||
runq " WINDRES #{t.source}", "#{c(:WINDRES)} #{$flags[:windres]} -Isrc/mmg -o #{t.name} #{t.sources.join(" ")}"
|
||||
end
|
||||
|
||||
# Resources depend on the manifest.xml file for Windows builds.
|
||||
if c?(:MINGW)
|
||||
$programs.each do |program|
|
||||
path = program.gsub(/^mkv/, '')
|
||||
file "src/#{path}/resources.o" => "src/#{path}/manifest.xml"
|
||||
end
|
||||
end
|
||||
|
||||
rule '.mo' => '.po' do |t|
|
||||
runq " MSGFMT #{t.source}", "msgfmt -c -o #{t.name} #{t.sources.join(" ")}"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user