From 81a9a5b520ae6d1b89e6a2eb052f023ba329bcc4 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 16 Jan 2022 01:18:04 +0100 Subject: Fix directory_containing_executable() in some cases (#2163). --- src/lib/cross_osx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index ff40ffb70..d9355e161 100644 --- 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(); } -- cgit v1.2.3