Force strawberry-perl dependency on Windows (#520)

pull/522/head
Jérôme Leclercq 3 years ago committed by GitHub
parent 27a19829f4
commit 3ef743adb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/o/openssl/xmake.lua

@ -25,7 +25,10 @@ package("openssl")
on_load(function (package)
if package:is_plat("windows") and (not package.is_built or package:is_built()) then
package:add("deps", "strawberry-perl", "nasm")
package:add("deps", "nasm")
-- the perl executable found in GitForWindows will fail to build OpenSSL
-- see https://github.com/openssl/openssl/blob/master/NOTES-PERL.md#perl-on-windows
package:add("deps", "strawberry-perl", { system = false })
end
end)

Loading…
Cancel
Save