Browse Source

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

Arthapz 3 years ago
parent
commit
89569f576f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/v/volk/xmake.lua

+ 2 - 2
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)