Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Oct 14, 2024
1 parent 9edc46c commit f0792b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/l/libmem/port/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ target("libmem")
end
end})
end
add_defines("LM_EXPORT")
if is_plat("windows") or is_kind("shared") then
add_defines("LM_EXPORT")
end

add_packages("capstone", "keystone")

Expand Down

0 comments on commit f0792b9

Please sign in to comment.