소스 검색

fix libsdl errors on linux

ruki 4 년 전
부모
커밋
c404b881d5
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      packages/l/libsdl/xmake.lua

+ 4 - 0
packages/l/libsdl/xmake.lua

@@ -111,6 +111,10 @@ package("libsdl")
         if package:is_plat("linux") and package:config("pic") ~= false then
             table.insert(configs, "--with-pic")
         end
+        if package:is_plat("linux") then
+            -- fix Missing Xext.h if some X libs are found
+            table.insert(configs, "--without-x")
+        end
         import("package.tools.autoconf").install(package, configs)
     end)