summaryrefslogtreecommitdiffstats
path: root/drivers/unix/os_unix.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-03-09 15:57:30 +0100
committerGitHub <noreply@github.com>2022-03-09 15:57:30 +0100
commit922348f4c00e694961a7c9717abdcd0310c11973 (patch)
treed63eea4fbf2ec123340e62a96cb8a5a8164d9aca /drivers/unix/os_unix.cpp
parentbc9dd15f0e4408cbde1942a11aba8fc5eed71589 (diff)
parent9b05f29894cfcc477c2963fda3618a87458bd890 (diff)
downloadredot-engine-922348f4c00e694961a7c9717abdcd0310c11973.tar.gz
Merge pull request #58925 from akien-mga/remove-unused-gdnative-code
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r--drivers/unix/os_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index 088525647c..3b5e1bf91d 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -439,12 +439,12 @@ Error OS_Unix::open_dynamic_library(const String p_path, void *&p_library_handle
}
if (!FileAccess::exists(path)) {
- //this code exists so gdnative can load .so files from within the executable path
+ // This code exists so GDExtension can load .so files from within the executable path.
path = get_executable_path().get_base_dir().plus_file(p_path.get_file());
}
if (!FileAccess::exists(path)) {
- //this code exists so gdnative can load .so files from a standard unix location
+ // This code exists so GDExtension can load .so files from a standard unix location.
path = get_executable_path().get_base_dir().plus_file("../lib").plus_file(p_path.get_file());
}