Rakefile: fix building mkvinfo with Qt disabled

This commit is contained in:
Moritz Bunkus 2017-12-31 17:24:03 +01:00
parent f16df21b09
commit 5592b65d7c

View File

@ -973,7 +973,7 @@ Application.new("src/mkvmerge").
Application.new("src/mkvinfo").
description("Build the mkvinfo executable").
aliases(:mkvinfo).
sources("src/info/mkvinfo.cpp").
sources(FileList["src/info/*.cpp"].to_a.reject { |f| %r{/qt|mkvinfo-gui.cpp|sys_windows.cpp$}.match(f) }).
sources("src/info/resources.o", :if => $building_for[:windows]).
libraries($common_libs).
only_if(c?(:USE_QT)).