wgpu-native: Add pthread and dl syslinks on Linux (#2634)

pull/2635/head
Jérôme Leclercq 1 year ago committed by GitHub
parent 2be3029497
commit db365bc95c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/w/wgpu-native/xmake.lua

@ -32,6 +32,12 @@ package("wgpu-native")
end
end)
on_load("linux", function (package)
if not package:config("shared") then
package:add("syslinks", "dl", "pthread")
end
end)
on_load("macosx", function (package)
if not package:config("shared") then
package:add("syslinks", "objc")

Loading…
Cancel
Save