Sha256: 293a771c51617e3fee456da55bbbb730f45562cdd077ef22f1ceb4030977f21e

Contents?: true

Size: 450 Bytes

Versions: 2

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

require "mkmf"
require "fileutils"

target = if RbConfig::CONFIG["host_os"].include?("darwin")
           "x86_64-apple-darwin"
         else
           "x86_64-unknown-linux-gnu"
         end

library_path = File.join(__dir__, target)
Dir.glob(File.join(library_path, "*.a")).each { |path| FileUtils.cp(path, __dir__) }

have_library("lit_parser")
have_library("lit_error_formatter")

create_makefile "lit/lit_parser"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
litl-parser-0.1.1 ext/lit/parser/extconf.rb
litl-parser-0.1.0 ext/lit/parser/extconf.rb