configure: don't generate static_plugins.cpp for mkvinfo anymore

This commit is contained in:
Moritz Bunkus 2018-02-05 19:13:33 +01:00
parent 3589dd0d40
commit 8baed3aaf9

View File

@ -226,7 +226,7 @@ return 0;
problem="test program could not be compiled"
fi
rm -f src/info/static_plugins.cpp src/mkvtoolnix-gui/static_plugins.cpp
rm -f src/mkvtoolnix-gui/static_plugins.cpp
if test x"$problem" = x && test x"$QT_PKG_CONFIG_STATIC" != x; then
qmake_dir="`mktemp -d`"
@ -272,7 +272,6 @@ EOF
qmake_libs="`grep '^LIBS' "$makefile" | sed -Ee 's/^LIBS[[ \t]]*=[[ \t]]*//'`"
QT_LIBS="$qmake_libs $QT_LIBS"
cp "$qmake_dir/console_plugin_import.cpp" src/info/static_plugins.cpp
cp "$qmake_dir/console_plugin_import.cpp" src/mkvtoolnix-gui/static_plugins.cpp
fi