Skip to content

Commit

Permalink
Add valid dll/so files for OpenAL
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Sep 5, 2024
1 parent 48247d7 commit ad9d6c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions Tasks/TestLinuxTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ public sealed class TestLinuxTask : FrostingTask<BuildContext>
"libdl.so",
"libpthread.so",
"/lib/ld-linux-",
"/lib64/ld-linux-"
"/lib64/ld-linux-",
// android
"linux-gate.so.1",
"libOpenSLES.so",
"liblog.so"
};

public override bool ShouldRun(BuildContext context) => context.IsRunningOnLinux();
Expand Down Expand Up @@ -53,8 +57,10 @@ public override void Run(BuildContext context)
}
else
{
context.Information($"INVALID: {libPath}");
passedTests = false;
if (!libPath.Contains ("android-arm")) {
context.Information($"INVALID: {libPath}");
passedTests = false;
}
}
}

Expand Down
3 changes: 2 additions & 1 deletion Tasks/TestWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public sealed class TestWindowsTask : FrostingTask<BuildContext>
"VERSION.dll",
"ADVAPI32.dll",
"SETUPAPI.dll",
"SHELL32.dll"
"SHELL32.dll",
"AVRT.dll"
};

public override bool ShouldRun(BuildContext context) => context.IsRunningOnWindows();
Expand Down

0 comments on commit ad9d6c2

Please sign in to comment.