From 5592b65d7c870769caed13c6f1cb8d0b68ac2c49 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 31 Dec 2017 17:24:03 +0100 Subject: [PATCH] Rakefile: fix building mkvinfo with Qt disabled --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 79b9970da..1be872a6b 100644 --- a/Rakefile +++ b/Rakefile @@ -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)).