Fix linking errors. Someone else will have to tell me if this

is the best way to do it.
This commit is contained in:
Richard Heck 2017-12-21 18:45:48 -05:00
parent 76214e6012
commit f1df7e478d
2 changed files with 16 additions and 0 deletions

View File

@ -69,6 +69,13 @@ namespace lyx {
// Dummy verbose support
bool verbose = false;
struct App {
bool cancel_export;
};
App app;
App theApp() { return app; }
// Dummy LyXRC support
struct LyXRC {
string icon_set;

View File

@ -49,6 +49,15 @@ using namespace lyx::support::os;
namespace lyx {
struct App {
bool cancel_export;
};
App app;
App theApp() { return app; }
string const trimSpaceAndEol(string const & a)
{
return trim(a, " \t\n\r");