diff --git a/packages/l/libdeflate/xmake.lua b/packages/l/libdeflate/xmake.lua index b6e1200a7..c606f2f3f 100644 --- a/packages/l/libdeflate/xmake.lua +++ b/packages/l/libdeflate/xmake.lua @@ -15,7 +15,7 @@ package("libdeflate") end end) - on_install("windows", "macosx", "linux", "android", "mingw", function (package) + on_install("windows", "macosx", "linux", "android", "mingw", "bsd", function (package) io.writefile("xmake.lua", [[ add_rules("mode.debug", "mode.release") target("deflate") diff --git a/packages/l/libtiff/xmake.lua b/packages/l/libtiff/xmake.lua index bc1cc57a6..f38e0dc34 100644 --- a/packages/l/libtiff/xmake.lua +++ b/packages/l/libtiff/xmake.lua @@ -11,9 +11,10 @@ package("libtiff") add_deps("zlib") add_deps("cmake") + add_deps("libdeflate") on_install("windows", "mingw", "macosx", "linux", "bsd", function (package) - local configs = {"-Dzstd=OFF", "-Dlzma=OFF", "-Dwebp=OFF", "-Djpeg=OFF", "-Djbig=OFF", "-Dpixarlog=OFF"} + local configs = {"-Dzstd=OFF", "-Dlzma=OFF", "-Dwebp=OFF", "-Djpeg=OFF", "-Djbig=OFF", "-Dpixarlog=OFF", "-Dlerc=OFF"} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) if package:config("pic") ~= false then