Fix incorrect use of check_csnippets arguments leading to undefined references on linux (#1229)

pull/1233/head
Arthapz 3 years ago committed by GitHub
parent a3e9605630
commit 89569f576f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/v/volk/xmake.lua

@ -57,10 +57,10 @@ package("volk")
defines = "VOLK_IMPLEMENTATION"
end
assert(package:check_csnippets({test = format([[
assert(package:check_csnippets({test = [[
#include <volk.h>
void test() {
volkInitialize();
}
]], {configs = {defines = defines}})}))
]]}, {configs = {defines = defines}}))
end)
Loading…
Cancel
Save