Update xmake.lua

pull/752/head
ruki 3 years ago committed by GitHub
parent 237558855a
commit defcdd78ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      packages/l/libplist/xmake.lua

@ -18,11 +18,8 @@ package("libplist")
local configs = {"--disable-dependency-tracking",
"--disable-silent-rules",
"--without-cython"}
if package:config("shared") then
table.insert(configs, "--enable-shared=yes")
else
table.insert(configs, "--enable-shared=no")
end
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no"))
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes"))
local cxflags
if package:is_plat("linux") and package:config("pic") ~= false then
cxflags = "-fPIC"

Loading…
Cancel
Save