Pārlūkot izejas kodu

add brew extsources for libtiff

ruki 1 gadu atpakaļ
vecāks
revīzija
bd2c878880
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      packages/l/libtiff/xmake.lua

+ 5 - 0
packages/l/libtiff/xmake.lua

@@ -17,6 +17,11 @@ package("libtiff")
     add_configs("jpeg",       {description = "use libjpeg (required for JPEG compression)", default = false, type = "boolean"})
     add_configs("zstd",       {description = "use libzstd (required for ZSTD compression)", default = false, type = "boolean"})
     add_configs("webp",       {description = "use libwebp (required for WEBP compression)", default = false, type = "boolean"})
+
+    if is_plat("macosx") then
+        add_extsources("brew::libtiff/libtiff-4")
+    end
+
     local configdeps = {zlib       = "zlib",
                         libdeflate = "libdeflate",
                         jpeg       = "libjpeg-turbo",