improve libplist

pull/283/head
ruki 4 years ago
parent a5d441d3da
commit 53efdcefbd
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/l/libplist/xmake.lua

@ -24,7 +24,7 @@ package("libplist")
table.insert(configs, "--enable-shared=no")
end
local cxflags
if package:is_plat("linux") and not package:config("shared") then
if package:is_plat("linux") and package:config("pic") ~= false then
cxflags = "-fPIC"
end
import("package.tools.autoconf").install(package, configs, {cxflags = cxflags})

Loading…
Cancel
Save