Browse Source

improve libjpeg-turbo

ruki 4 years ago
parent
commit
14d1c29f36
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/l/libjpeg-turbo/xmake.lua

+ 3 - 0
packages/l/libjpeg-turbo/xmake.lua

@@ -14,6 +14,9 @@ package("libjpeg-turbo")
     add_configs("jpeg", {description = "libjpeg API/ABI emulation target version.", default = "6", type = "string", values = {"6", "7", "8"}})
     add_configs("jpeg", {description = "libjpeg API/ABI emulation target version.", default = "6", type = "string", values = {"6", "7", "8"}})
 
 
     add_deps("cmake", "nasm")
     add_deps("cmake", "nasm")
+    if is_subhost("windows") and is_plat("android") then
+        add_deps("make")
+    end
 
 
     on_install("windows", "linux", "macosx", "android", function (package)
     on_install("windows", "linux", "macosx", "android", function (package)
         local configs = {}
         local configs = {}