make libdwarf support cross (#5739)

pull/5740/head
xpxz 2 weeks ago committed by GitHub
parent 201297df95
commit de3000415f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/l/libdwarf/xmake.lua

@ -18,7 +18,7 @@ package("libdwarf")
add_links("dwarf")
end
on_install("windows", "linux", "macosx", "mingw", function (package)
on_install("windows", "linux", "macosx", "mingw", "cross", function (package)
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED=" .. (package:config("shared") and "ON" or "OFF"))

Loading…
Cancel
Save