Open Speak2Erase opened 1 month ago
Same problem here, I found that applying a little static patch does the trick:
--- binding/meson.build.orig 2024-06-20 12:34:32.256226102 +0200
+++ binding/meson.build 2024-06-20 12:38:36.263635664 +0200
@@ -9,6 +9,7 @@
global_dependencies += dependency('ruby-' + ver)
else
global_args += ('-I' + get_option('mri_includes'))
+ global_args += ('-I' + get_option('mri_includes') + '/x86_64-linux')
global_dependencies += compilers['cpp'].find_library(get_option('mri_library'), dirs: get_option('mri_libpath'))
endif
Ofc, this needs to have a more permanent solution than this dirty workaround...
The![image](https://github.com/mkxp-z/mkxp-z/assets/54482069/5d89657a-4239-4ecb-a89f-b7916af07c1c)
mri_includes
option isn't enough to include all the header files of ruby, ruby puts itsruby/config.h
in a separate folder (x86_64-linux
on my machine)