Explorar o código

improve libplist

ruki %!s(int64=4) %!d(string=hai) anos
pai
achega
53efdcefbd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/l/libplist/xmake.lua

+ 1 - 1
packages/l/libplist/xmake.lua

@@ -24,7 +24,7 @@ package("libplist")
             table.insert(configs, "--enable-shared=no")
             table.insert(configs, "--enable-shared=no")
         end
         end
         local cxflags
         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"
             cxflags = "-fPIC"
         end
         end
         import("package.tools.autoconf").install(package, configs, {cxflags = cxflags})
         import("package.tools.autoconf").install(package, configs, {cxflags = cxflags})