libexpat: open expat for android. (#3025)

open expat for android.
pull/3028/head
yangyun0123456 11 months ago committed by GitHub
parent bbdb2dedc0
commit d3a9f77cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/e/expat/xmake.lua

@ -23,7 +23,7 @@ package("expat")
end
end)
on_install("windows", "linux", "macosx", "mingw", "cross", function (package)
on_install("windows", "linux", "macosx", "android", "mingw", "cross", function (package)
local configs = {"-DEXPAT_BUILD_EXAMPLES=OFF", "-DEXPAT_BUILD_TESTS=OFF", "-DEXPAT_BUILD_DOCS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DEXPAT_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))

Loading…
Cancel
Save