Ver Fonte

fix libsdl errors on linux

ruki há 4 anos atrás
pai
commit
c404b881d5
1 ficheiros alterados com 4 adições e 0 exclusões
  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)