Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5f0e56f

Browse files
Fix opening the native library on Linux
1 parent ddf585a commit 5f0e56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Unity/Assets/NativeScript/Bindings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ static extern int dlclose(
332332
static IntPtr OpenLibrary(
333333
string path)
334334
{
335-
IntPtr handle = dlopen(path, 0);
335+
IntPtr handle = dlopen(path, 1);// 1 = lazy, 2 = now
336336
if (handle == IntPtr.Zero)
337337
{
338338
throw new Exception("Couldn't open native library: " + path);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /