fix pthread link (#5001)

pull/4599/merge
benny066567 3 months ago committed by GitHub
parent b0be614cdd
commit 86a43c0dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      packages/j/json-glib/xmake.lua

@ -7,10 +7,13 @@ package("json-glib")
add_urls("https://github.com/GNOME/json-glib/archive/refs/tags/$(version).tar.gz")
add_versions("1.9.2", "277c3b7fc98712e30115ee3a60c3eac8acc34570cb98d3ff78de85ed804e0c80")
add_patches("1.9.2", "patches/1.9.2/add_brace_to_json_scanner.patch", "5d77c14d25ad24a911d28d51e9defee9a3c382428dc3e23101f6319fc46b227c")
add_deps("glib", "meson", "ninja")
if is_plat("linux") then
add_syslinks("pthread")
end
add_includedirs("include", "include/json-glib-1.0")
on_install("linux", function (package)

Loading…
Cancel
Save