From 3b7a790ed624684584b7bf39618d3bb8e603458a Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 6 Feb 2021 00:44:23 +0800 Subject: [PATCH] improve libpng --- packages/l/libpng/xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/l/libpng/xmake.lua b/packages/l/libpng/xmake.lua index e158c2a42..2dfcd013e 100644 --- a/packages/l/libpng/xmake.lua +++ b/packages/l/libpng/xmake.lua @@ -12,6 +12,11 @@ package("libpng") set_license("libpng-2.0") add_deps("zlib") + + if is_plat("linux") then + add_syslinks("m") + end + on_install(function (package) io.writefile("xmake.lua", [[ add_rules("mode.debug", "mode.release")