fix libsdl errors on linux

pull/396/head
ruki 4 years ago
parent 80f2fab419
commit c404b881d5
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 4
      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)

Loading…
Cancel
Save