From 6d9e59e13d03893c7546589fdfeb7254cb00f9a5 Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Thu, 11 Jul 2024 13:06:21 +0200 Subject: [PATCH] More AppleOS fixes. --- src/config/config.cpp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.cpp.in b/src/config/config.cpp.in index 6dd69f053..fe1a96d3f 100644 --- a/src/config/config.cpp.in +++ b/src/config/config.cpp.in @@ -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