From 391f2ae1517236768583677f55d422a581f4898c Mon Sep 17 00:00:00 2001 From: loudoweb Date: Thu, 16 Jul 2020 11:12:18 +0200 Subject: [PATCH] add ssl.hdll into hl builds --- tools/platforms/WindowsPlatform.hx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/platforms/WindowsPlatform.hx b/tools/platforms/WindowsPlatform.hx index b3ff77560..dd4c09da7 100644 --- a/tools/platforms/WindowsPlatform.hx +++ b/tools/platforms/WindowsPlatform.hx @@ -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 {