소스 검색

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)