add ssl.hdll into hl builds

This commit is contained in:
loudoweb
2020-07-16 11:12:18 +02:00
parent e846c3df9a
commit 391f2ae151

View File

@@ -204,6 +204,16 @@ class WindowsPlatform extends PlatformTarget
{
ProjectHelper.copyLibrary(project, ndll, "Windows" + (is64 ? "64" : ""), "", ".hdll", applicationDirectory, project.debug,
targetSuffix);
if (!project.environment.exists("HL_PATH"))
{
var command = #if lime "lime" #else "hxp" #end;
Log.info("You must define HL_PATH to copy HL dependencies: '" + command + " setup hl' first");
}else{
System.copyFile(project.environment.get("HL_PATH") + '/ssl.hdll', applicationDirectory + '/ssl.hdll');
}
}
else
{