Posix fixes

This commit is contained in:
Lynix
2020-02-23 02:26:36 +01:00
parent 3fc67b3598
commit f084c30d70
3 changed files with 11 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ namespace Nz
path += ".so";
dlerror(); // Clear error flag
m_handle = dlopen(path.GetConstBuffer(), RTLD_LAZY | RTLD_GLOBAL);
m_handle = dlopen(path.generic_u8string().data(), RTLD_LAZY | RTLD_GLOBAL);
if (m_handle)
return true;