Skip to content

Commit

Permalink
fix: build problem for Linux #36
Browse files Browse the repository at this point in the history
  • Loading branch information
netpyoung committed Feb 4, 2022
1 parent d2f70c0 commit 218c6d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion unity_project/Assets/unity.webp/Runtime/NativeLibwebp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static unsafe partial class NativeLibwebp
{
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
const string DLL_NAME = "libwebp";
#elif UNITY_EDITOR || UNITY_STANDALONE_OSX
#elif UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_LINUX
const string DLL_NAME = "webp";
#elif UNITY_ANDROID
const string DLL_NAME = "webp";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static unsafe partial class NativeLibwebpdemux
{
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN
const string DLL_NAME = "libwebpdemux";
#elif UNITY_EDITOR || UNITY_STANDALONE_OSX
#elif UNITY_EDITOR || UNITY_STANDALONE_OSX || UNITY_STANDALONE_LINUX
const string DLL_NAME = "webpdemux";
#elif UNITY_ANDROID
const string DLL_NAME = "webpdemux";
Expand Down

0 comments on commit 218c6d2

Please sign in to comment.