projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5c8aa4
)
Fix directory_containing_executable() in some cases (#2163).
author
Carl Hetherington
<cth@carlh.net>
Sun, 16 Jan 2022 00:18:04 +0000
(
01:18
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 16 Jan 2022 18:04:03 +0000
(19:04 +0100)
src/lib/cross_osx.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross_osx.cc
b/src/lib/cross_osx.cc
index ff40ffb708aa8666a2e279b8362ce34663abd8c1..d9355e161b8de21d646628b10eafa5ea9c967397 100644
(file)
--- a/
src/lib/cross_osx.cc
+++ b/
src/lib/cross_osx.cc
@@
-104,7
+104,7
@@
cpu_info ()
boost::filesystem::path
directory_containing_executable ()
{
- return boost::
dll::program_location(
).parent_path();
+ return boost::
filesystem::canonical(boost::dll::program_location()
).parent_path();
}