mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-bin-mirb: fix the issue on macOS; #6327
This commit is contained in:
@@ -30,8 +30,7 @@ MRuby::Gem::Specification.new('mruby-bin-mirb') do |spec|
|
||||
File.exist?("#{lib_path}/libreadline.a")
|
||||
end
|
||||
spec.linker.library_paths << lib_path if lib_path
|
||||
end
|
||||
if spec.build.cc.search_header_path 'curses.h'
|
||||
elsif spec.build.cc.search_header_path 'curses.h'
|
||||
spec.linker.libraries << 'ncurses'
|
||||
if spec.build.cc.search_header_path 'term.h'
|
||||
spec.linker.libraries << 'tinfo'
|
||||
|
||||
Reference in New Issue
Block a user