improve glib

pull/527/head
ruki 3 years ago
parent aad84d5342
commit adb3e60d00
No known key found for this signature in database
GPG Key ID: D7C5BF5691071C8D
  1. 8
      packages/g/glib/xmake.lua

@ -24,6 +24,14 @@ package("glib")
add_syslinks("pthread", "dl") add_syslinks("pthread", "dl")
end end
if on_fetch then
on_fetch("macosx", "linux", function (package, opt)
if opt.system and package.find_package then
return package:find_package("pkgconfig::glib-2.0")
end
end)
end
on_install("macosx", "linux", function (package) on_install("macosx", "linux", function (package)
local configs = {"-Dbsymbolic_functions=false", local configs = {"-Dbsymbolic_functions=false",
"-Ddtrace=false", "-Ddtrace=false",

Loading…
Cancel
Save