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 13, 2024
1 parent 7974877 commit ff4f656
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/l/libmem/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ package("libmem")
set_description("Cross-platform game hacking library for C, C++, Rust, and Python, supporting process/memory hacking, hooking, detouring, and DLL/SO injection.")
set_license("AGPL-3.0")

add_urls(
"https://github.com/rdbo/libmem/archive/refs/tags/$(version).tar.gz",
"https://github.com/rdbo/libmem.git")
add_urls("https://github.com/rdbo/libmem/archive/refs/tags/$(version).tar.gz",
"https://github.com/rdbo/libmem.git")
add_versions("5.0.2", "99adea3e86bd3b83985dce9076adda16968646ebd9d9316c9f57e6854aeeab9c")

--add_patches("5.0.2", path.join(os.scriptdir(), "patches", "cxxexport.patch"), "3b6184cfd3fbc6698c1027f70c6d50890b9c5ed7a689a414cd1b42173fd179e3")

add_deps("capstone", "keystone")

if is_plat("windows", "mingw") then
Expand All @@ -24,7 +21,7 @@ package("libmem")
end

on_load(function(package)
if not package:config("shared") then
if package:config("shared") then
package:add("defines", "LM_EXPORT")
end
end)
Expand Down

0 comments on commit ff4f656

Please sign in to comment.