--- srain-1.7.0/src/lib/path.c.old 2024-04-30 21:44:54.587619817 -0400 +++ srain-1.7.0/src/lib/path.c 2024-04-30 21:45:10.830897386 -0400 @@ -371,7 +371,7 @@ return executableDir; } -#elif defined __linux__ +#elif defined __linux__ || __sun char *srn_get_executable_path() { char rawPathName[PATH_MAX]; realpath(PROC_SELF_EXE, rawPathName);