projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove some Linux hacks that I can't see the point of any more.
[dcpomatic.git]
/
src
/
lib
/
cross_linux.cc
diff --git
a/src/lib/cross_linux.cc
b/src/lib/cross_linux.cc
index 5c1bb7d9090772d2968c95b45f77ae0bfdac7897..2d43d38019c7d2697af5fb498b3894be60d7724d 100644
(file)
--- a/
src/lib/cross_linux.cc
+++ b/
src/lib/cross_linux.cc
@@
-108,14
+108,14
@@
resources_path ()
boost::filesystem::path
xsd_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 ()
{
}
boost::filesystem::path
tags_path ()
{
- return
directory_containing_executable().parent_path() / "share"
/ "libdcp" / "tags";
+ return
boost::filesystem::canonical(LINUX_SHARE_PREFIX)
/ "libdcp" / "tags";
}
}