Fix using curl lib on Linux (use self compiled static lib)
This commit is contained in:
2
Source/ThirdParty/curl/curl.Build.cs
vendored
2
Source/ThirdParty/curl/curl.Build.cs
vendored
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user