Skip to content

Commit

Permalink
More AppleOS fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e committed Jul 11, 2024
1 parent e87b026 commit 6d9e59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/config.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ std::string maybe_from_env(const std::string& varname) {
if( _NSGetExecutablePath(buffer, &bufsize) != 0) {
return "";
}
auto executable = fs::read_symlink(buffer);
auto executable = fs::path(buffer);
#else
auto executable = fs::read_symlink("/proc/self/exe");
#endif
Expand Down

0 comments on commit 6d9e59e

Please sign in to comment.