Fix linking Assimp on Linux and strip the lib

This commit is contained in:
mafiesto4
2021-01-10 18:58:55 +01:00
parent ee1b7bad56
commit 09720ee758
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ public class assimp : DepsModule
options.DelayLoadLibraries.Add("assimp-vc140-md.dll");
break;
case TargetPlatform.Linux:
options.DependencyFiles.Add(Path.Combine(depsRoot, "libassimp.so"));
options.Libraries.Add(Path.Combine(depsRoot, "libassimp.so"));
break;
default: throw new InvalidPlatformException(options.Platform.Target);
}