mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #94373 from maiself/fix-library-path-as-abs
Fix to restore `library_path` as absolute path
This commit is contained in:
commit
31f696cf03
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ Error GDExtension::open_library(const String &p_path, const String &p_entry_symb
|
||||||
// because that's what we want to check to see if it's changed.
|
// because that's what we want to check to see if it's changed.
|
||||||
library_path = actual_lib_path.get_base_dir().path_join(p_path.get_file());
|
library_path = actual_lib_path.get_base_dir().path_join(p_path.get_file());
|
||||||
} else {
|
} else {
|
||||||
library_path = p_path;
|
library_path = actual_lib_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
ERR_FAIL_COND_V_MSG(err == ERR_FILE_NOT_FOUND, err, "GDExtension dynamic library not found: " + abs_path);
|
ERR_FAIL_COND_V_MSG(err == ERR_FILE_NOT_FOUND, err, "GDExtension dynamic library not found: " + abs_path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue