Skip to content

Commit 0374f64

Browse files
fix: shadowhook never supports x86 and x86_64 (#8621)
* fix: shadowhook never supports x86 and x86_64 * Update on_install function for Android architecture * Update xmake.lua --------- Co-authored-by: Saikari <lin@sz.cn.eu.org>
1 parent 12e6574 commit 0374f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/s/shadowhook/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ package("shadowhook")
1111

1212
add_deps("xdl", "linux-syscall-support")
1313

14-
on_install("android", function (package)
14+
on_install("android|arm64-v8a,armeabi-v7a,armeabi", function (package)
1515
io.replace("shadowhook/src/main/cpp/sh_safe.c", [[#include "linux_syscall_support.h"]], [[#include <lss/linux_syscall_support.h>]], {plain = true})
1616
os.cd("shadowhook/src/main/cpp")
1717
os.mv("shadowhook.map.txt", "shadowhook.map")

0 commit comments

Comments
 (0)