mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[meson] ruby dependency: ruby not ruby-2.6
Also initialize error, because rb_load_protect, does not change it.
This commit is contained in:
parent
8154169711
commit
ee49c80061
@ -302,7 +302,7 @@ endif
|
||||
|
||||
rubydeps = []
|
||||
if conf_data.get('CONFIG_SCRIPTING_RUBY')
|
||||
rubydeps = dependency('ruby-2.6')
|
||||
rubydeps = dependency('ruby')
|
||||
deps += rubydeps
|
||||
endif
|
||||
|
||||
|
@ -247,7 +247,7 @@ init_ruby(struct module *module)
|
||||
if (!path) return;
|
||||
|
||||
if (file_can_read(path)) {
|
||||
int error;
|
||||
int error = 0;
|
||||
|
||||
/* Load ~/.elinks/hooks.rb into the interpreter. */
|
||||
//rb_load_file(path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user