Fix using curl lib on Linux (use self compiled static lib)

This commit is contained in:
Wojtek Figat
2021-04-08 22:12:55 +02:00
parent 9a17f2141b
commit 3e080c44c6
5 changed files with 43 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ public class curl : DepsModule
options.OutputFiles.Add("crypt32.lib");
break;
case TargetPlatform.Linux:
options.Libraries.Add("curl");
options.OutputFiles.Add(Path.Combine(depsRoot, "libcurl.a"));
break;
default: throw new InvalidPlatformException(options.Platform.Target);
}