fix openssl package nil crash on windows. (#1318)

pull/1320/head
Zmmfly 3 years ago committed by GitHub
parent 3299af0234
commit 4a0cd28258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/o/openssl/fetch.lua

@ -21,7 +21,7 @@ function _find_package_on_windows(package, opt)
if #result.links ~= 2 then
return
end
table.insert(result.includedirs, find_path("openssl/ssl.h", paths, {suffixes = "include"}))
table.insert(result.includedirs, find_path(path.translate("openssl/ssl.h"), paths, {suffixes = "include"}))
return result
end

Loading…
Cancel
Save