Skip to content

Commit

Permalink
make libdwarf support cross (#5739)
Browse files Browse the repository at this point in the history
  • Loading branch information
heheda123123 authored Nov 12, 2024
1 parent 201297d commit de30004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/l/libdwarf/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit de30004

Please sign in to comment.