Sha256: eb4d4ba6b24e458fde3966c41f0f4c2cf6448eed0a610e33aa04ea94b63e5b35
Contents?: true
Size: 593 Bytes
Versions: 6
Compression:
Stored size: 593 Bytes
Contents
require 'mkmf' libxlsxwriter_dir = File.expand_path('../libxlsxwriter', __FILE__) make_pid = spawn({'CFLAGS' => '-fPIC'}, $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" # $LDFLAGS="-L./libxlsxwriter/lib/ -Wl,-Bstatic -lxlsxwriter -Wl,-Bdynamic" $LDFLAGS="-lz #{libxlsxwriter_dir}/lib/libxlsxwriter.a" create_makefile 'xlsxwriter/xlsxwriter'
Version data entries
6 entries across 6 versions & 1 rubygems