Skip to content

Commit

Permalink
limit shared config
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing committed Oct 4, 2024
1 parent d2e172a commit d23a3e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/p/pycdc/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ package("pycdc")

add_versions("2024.08.12", "dc6ca4ae36128f2674b5b4c9b0ce6fdda97d4df0")

if is_plat("windows") and is_arch("arm.*") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
end

on_install(function (package)
os.cp(path.join(package:scriptdir(), "port", "xmake.lua"), "xmake.lua")
import("package.tools.xmake").install(package)
Expand Down

0 comments on commit d23a3e4

Please sign in to comment.