Browse Source

pdfhummus: add syslinks (#2294)

Darcy Shen 2 years ago
parent
commit
b5170b913e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      packages/p/pdfhummus/xmake.lua

+ 4 - 0
packages/p/pdfhummus/xmake.lua

@@ -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