Sha256: d079ea2830bc7f8dcaa61f2a7935e168670fdf88497ba416881eb415c0c3d823

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true

require 'mkmf'
require 'English'

libxlsxwriter_dir = File.expand_path('libxlsxwriter', __dir__)
make_pid = spawn({ 'CFLAGS' => '-fPIC -O2' }, $make, chdir: libxlsxwriter_dir)
Process.wait(make_pid)
raise 'Make failed for xlsxwriter' unless $CHILD_STATUS.success?

$CFLAGS = "-I'#{libxlsxwriter_dir}/include' -g -Wall -Werror -O2"
$LDFLAGS = "-lz #{libxlsxwriter_dir}/lib/libxlsxwriter.a"

create_makefile 'xlsxwriter/xlsxwriter'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 ext/xlsxwriter/extconf.rb