Avoid linking capstone by default
Workaround for https://github.com/ruby/setup-ruby/pull/501#issuecomment-1520722486
This commit is contained in:
parent
f492e3b4e5
commit
0bf10dfd25
@ -3891,11 +3891,11 @@ AC_ARG_ENABLE(rjit,
|
|||||||
|
|
||||||
AS_CASE(["$RJIT_SUPPORT"],
|
AS_CASE(["$RJIT_SUPPORT"],
|
||||||
[yes|dev], [
|
[yes|dev], [
|
||||||
# Link libcapstone for --rjit-dump-disasm
|
|
||||||
AC_CHECK_LIB([capstone], [cs_disasm])
|
|
||||||
|
|
||||||
AS_CASE(["$RJIT_SUPPORT"],
|
AS_CASE(["$RJIT_SUPPORT"],
|
||||||
[dev], [
|
[dev], [
|
||||||
|
# Link libcapstone for --rjit-dump-disasm
|
||||||
|
AC_CHECK_LIB([capstone], [cs_disasm])
|
||||||
|
|
||||||
# Enable extra stats (vm_insns_count, ratio_in_rjit)
|
# Enable extra stats (vm_insns_count, ratio_in_rjit)
|
||||||
AC_DEFINE(RJIT_STATS, 1)
|
AC_DEFINE(RJIT_STATS, 1)
|
||||||
])
|
])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user