فهرست منبع

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

Arthapz 3 سال پیش
والد
کامیت
89569f576f
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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)