diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/cross_linux.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index c001cbf35..7e026b9a6 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -107,6 +107,9 @@ resources_path () boost::filesystem::path xsd_path () { + if (auto appdir = getenv("APPDIR")) { + return boost::filesystem::path(appdir) / "usr" / "share" / "libdcp" / "xsd"; + } return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp" / "xsd"; } @@ -114,6 +117,9 @@ xsd_path () boost::filesystem::path tags_path () { + if (auto appdir = getenv("APPDIR")) { + return boost::filesystem::path(appdir) / "usr" / "share" / "libdcp" / "tags"; + } return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp" / "tags"; } |
