소스 검색

nanovg: adds mingw platform (#3227)

* nanovg: adds mingw platform

* nanovg: adds mingw platform
Paul Reilly 1 년 전
부모
커밋
0906599f09
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/n/nanovg/xmake.lua

+ 2 - 2
packages/n/nanovg/xmake.lua

@@ -8,14 +8,14 @@ package("nanovg")
     add_versions("2023.8.27", "f93799c078fa11ed61c078c65a53914c8782c00b")
     add_versions("2021.11.2", "e75cf72b4ad0b850a66e589d14d7b3156065dd2a")
 
-    on_install("windows", "macosx", "linux", function (package)
+    on_install("windows", "macosx", "linux", "mingw", function (package)
         io.writefile("xmake.lua", [[
             add_rules("mode.debug", "mode.release")
             target("nanovg")
                 set_kind("$(kind)")
                 add_files("src/*.c")
                 add_headerfiles("src/(*.h)")
-                if is_plat("windows") and is_kind("shared") then
+                if is_plat("windows", "mingw") and is_kind("shared") then
                     add_rules("utils.symbols.export_all")
                 end
         ]])