浏览代码

add windows links for raylib

ruki 6 年之前
父节点
当前提交
03dfe942f9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/r/raylib/xmake.lua

+ 2 - 0
packages/r/raylib/xmake.lua

@@ -18,6 +18,8 @@ package("raylib")
 
     if is_plat("macosx") then
         add_frameworks("OpenGL", "CoreVideo", "CoreGraphics", "AppKit", "IOKit", "CoreFoundation", "Foundation")
+    elseif is_plat("windows") then
+        add_syslinks("gdi32", "user32", "winmm")
     end
 
     on_install("macosx", function (package)