Sha256: 79135aa1d2ffadd13af811cc28bcfbfee2b5745e144fe19c1eb58b99c8128bb9
Contents?: true
Size: 672 Bytes
Versions: 6
Compression:
Stored size: 672 Bytes
Contents
require 'mkmf' def barf message = 'dependencies not met' raise message end barf unless have_header('ruby.h') pkg_config('xmlsec1') $CFLAGS << " " + `xmlsec1-config --cflags`.strip $CFLAGS << " -fvisibility=hidden" if $CFLAGS =~ /\-DXMLSEC_CRYPTO=\\\\\\"openssl\\\\\\"/ puts "Changing escaping: #{$CFLAGS}" $CFLAGS['-DXMLSEC_CRYPTO=\\\\\\"openssl\\\\\\"'] = '-DXMLSEC_CRYPTO=\\"openssl\\"' end if $CFLAGS =~ /\-DXMLSEC_CRYPTO="openssl"/ puts "Ensure we escaping: #{$CFLAGS}" $CFLAGS['-DXMLSEC_CRYPTO="openssl"'] = '-DXMLSEC_CRYPTO=\\"openssl\\"' end puts "Clfags: #{$CFLAGS}" $libs = `xmlsec1-config --libs`.strip create_makefile('nokogiri_ext_xmlsec')
Version data entries
6 entries across 6 versions & 1 rubygems