소스 검색

add mingw support to cpptrace (#2910)

xpxz 1 년 전
부모
커밋
a58019eee4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/c/cpptrace/xmake.lua

+ 1 - 1
packages/c/cpptrace/xmake.lua

@@ -20,7 +20,7 @@ package("cpptrace")
         add_syslinks("dbghelp")
         add_syslinks("dbghelp")
     end
     end
 
 
-    on_install("linux", "macosx", "windows", function (package)
+    on_install("linux", "macosx", "windows", "mingw", function (package)
         local configs = {}
         local configs = {}
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))