Sha256: 9d47e430a371df486ee8f67639c1532261d8f3318102ccb2a6d32497e473005a
Contents?: true
Size: 601 Bytes
Versions: 5
Compression:
Stored size: 601 Bytes
Contents
require 'mkmf' libxlsxwriter_dir = File.expand_path('../libxlsxwriter', __FILE__) make_pid = spawn({'CFLAGS' => '-fPIC -O2'}, $make, chdir: libxlsxwriter_dir) Process.wait(make_pid) raise 'Make failed for xlsxwriter' unless $? == 0 # enable_config('static', true) # find_library('xlsxwriter', 'workbook_new', File.expand_path('../libxlsxwriter/lib', __FILE__)) $CFLAGS="-I'#{libxlsxwriter_dir}/include' -g -Wall -std=c99 -O2" # $LDFLAGS="-L./libxlsxwriter/lib/ -Wl,-Bstatic -lxlsxwriter -Wl,-Bdynamic" $LDFLAGS="-lz #{libxlsxwriter_dir}/lib/libxlsxwriter.a" create_makefile 'xlsxwriter/xlsxwriter'
Version data entries
5 entries across 5 versions & 1 rubygems