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 f0792b9 commit dff55cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/l/libmem/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ package("libmem")
end

on_load(function(package)
package:add("defines", "LM_EXPORT")
if package:is_plat("windows") or package:config("shared") then
package:add("defines", "LM_EXPORT")
end
end)

on_install("windows", "linux", "bsd", function (package)
Expand Down

0 comments on commit dff55cf

Please sign in to comment.