From f1df7e478da5934a77436f039429d8d2411f3efb Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 21 Dec 2017 18:45:48 -0500 Subject: [PATCH] Fix linking errors. Someone else will have to tell me if this is the best way to do it. --- src/client/client.cpp | 7 +++++++ src/tex2lyx/tex2lyx.cpp | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/src/client/client.cpp b/src/client/client.cpp index 023e73e96b..a6e0bbe7ec 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -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; diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp index fc6ea1efc8..30019ceb16 100644 --- a/src/tex2lyx/tex2lyx.cpp +++ b/src/tex2lyx/tex2lyx.cpp @@ -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");