diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-23 00:04:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-29 21:20:31 +0100 |
| commit | cb68d75e06df4df193d977600815185648e31ff0 (patch) | |
| tree | f5cb4e2c648c4afa7cedd7d59d87ac96769ecc17 /src/tools/dcpomatic_batch.cc | |
| parent | db5863ed0c397297cc2b401c791a664c91b9e8bf (diff) | |
Setup grok LD_LIBRARY_PATH when required (#2657).
Diffstat (limited to 'src/tools/dcpomatic_batch.cc')
| -rw-r--r-- | src/tools/dcpomatic_batch.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index eff425f25..61285167d 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -381,6 +381,12 @@ private: ); } } + +#ifdef DCPOMATIC_GROK + if (what == Config::GROK) { + setup_grok_library_path(); + } +#endif } boost::optional<boost::filesystem::path> _last_parent; @@ -503,6 +509,7 @@ class App : public wxApp #ifdef DCPOMATIC_GROK grk_plugin::setMessengerLogger(new grk_plugin::GrokLogger("[GROK] ")); + setup_grok_library_path(); #endif return true; |
