Skip to content

Commit

Permalink
pdfhummus: add syslinks (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored Jul 9, 2023
1 parent 50fc01b commit b5170b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/p/pdfhummus/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ package("pdfhummus")
add_configs("libjpeg", {description = "Support DCT encoding", default = false, type = "boolean"})
add_configs("libpng", {description = "Support png image", default = false, type = "boolean"})

if is_plat("linux") then
add_syslinks("m", "stdc++")
end

on_load(function (package)
for _, dep in ipairs({"libtiff", "libpng", "libjpeg"}) do
if package:config(dep) then
Expand Down

0 comments on commit b5170b9

Please sign in to comment.