MRuby::Gem::Specification.new('mruby-minigame') do |spec|
  spec.license = 'MIT'
  spec.author  = 'bggd'

  case RUBY_PLATFORM
  when /linux/i
    spec.linker.libraries << %w(allegro allegro_main allegro_color allegro_image allegro_primitives allegro_font allegro_ttf allegro_audio allegro_acodec)
  end
end

MRuby::Gem::Specification.new('mruby-minigame') do |spec|
  spec.license = 'MIT'
  spec.author  = 'bggd'

  case RUBY_PLATFORM
  when /linux/i
    spec.linker.libraries << %w(allegro allegro_main allegro_color allegro_image allegro_primitives allegro_audio allegro_acodec)
  end
end

Remove allegro_font and allegro_ttf from linker option
Remove allegro_font and allegro_ttf from linker option
