fix openssl

pull/362/head
ruki 4 years ago
parent 20ce441fec
commit 8e08515a21
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/f/freetype/xmake.lua
  2. 2
      packages/o/openssl/fetch.lua

@ -21,7 +21,7 @@ package("freetype")
if on_fetch then
on_fetch("linux", "macosx", function (package, opt)
if opt.system and not package:is_cross() then
if opt.system then
return find_package("pkgconfig::freetype2")
end
end)

@ -26,7 +26,7 @@ function _find_package_on_windows(package, opt)
end
function main(package, opt)
if opt.system and not package:is_cross() and package.find_package then
if opt.system and package.find_package then
local result
if package:is_plat("windows", "mingw", "msys") and is_host("windows") then
result = _find_package_on_windows(package, opt)

Loading…
Cancel
Save