Remove some Linux hacks that I can't see the point of any more.
[dcpomatic.git] / src / lib / cross_linux.cc
index 5c1bb7d9090772d2968c95b45f77ae0bfdac7897..2d43d38019c7d2697af5fb498b3894be60d7724d 100644 (file)
@@ -108,14 +108,14 @@ resources_path ()
 boost::filesystem::path
 xsd_path ()
 {
-       return directory_containing_executable().parent_path() / "share" / "libdcp" / "xsd";
+       return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp" / "xsd";
 }
 
 
 boost::filesystem::path
 tags_path ()
 {
-       return directory_containing_executable().parent_path() / "share" / "libdcp" / "tags";
+       return boost::filesystem::canonical(LINUX_SHARE_PREFIX) / "libdcp" / "tags";
 }