Skip to content

Commit

Permalink
Add more libs to valid library lists
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-cpp committed Nov 7, 2023
1 parent 4bbe473 commit 97daddd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tasks/TestLinuxTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public sealed class TestLinuxTask : FrostingTask<BuildContext>
"libc.so",
"libm.so",
"libdl.so",
"libpthread.so",
"/lib/ld-linux-",
"/lib64/ld-linux-"
};
Expand Down
10 changes: 10 additions & 0 deletions Tasks/TestWindowsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ public sealed class TestWindowsTask : FrostingTask<BuildContext>
private static readonly string[] ValidLibs = {
"WS2_32.dll",
"KERNEL32.dll"
"USER32.dll",
"GDI32.dll",
"WINMM.dll",
"IMM32.dll",
"ole32.dll",
"OLEAUT32.dll",
"VERSION.dll",
"ADVAPI32.dll",
"SETUPAPI.dll",
"SHELL32.dll"
};

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

0 comments on commit 97daddd

Please sign in to comment.