File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#!/usr/bin/env ruby
22
3- require " rubygems"
4- require " rake/extensiontask"
5- require " rake/testtask"
3+ require ' rubygems'
4+ require ' rake/extensiontask'
5+ require ' rake/testtask'
66require 'rdoc/task'
7- require " yaml"
7+ require ' yaml'
88
9- GEM_NAME = " libxslt-ruby"
10- SO_NAME = " libxslt_ruby"
9+ GEM_NAME = ' libxslt-ruby'
10+ SO_NAME = ' libxslt_ruby'
1111
1212# Read the spec file
1313spec = Gem ::Specification . load ( "#{ GEM_NAME } .gemspec" )
@@ -23,10 +23,10 @@ Rake::ExtensionTask.new do |ext|
2323 ext . ext_dir = "ext/libxslt"
2424 ext . lib_dir = "lib/#{ RUBY_VERSION . sub ( /\. \d $/ , '' ) } "
2525
26- ext . config_options << "--with-zlib-dir=C:/MinGW /local"
27- ext . config_options << "--with-xml2-include=C:/MinGW /local/include/libxml2"
28- ext . config_options << "--with-xslt-include=C:/MinGW /local/include/libxslt"
29- ext . config_options << "--with-exslt-include=C:/MinGW /local/include/libexslt"
26+ ext . config_options << "--with-zlib-dir=C:/MinGW64 /local"
27+ ext . config_options << "--with-xml2-include=C:/MinGW64 /local/include/libxml2"
28+ ext . config_options << "--with-xslt-include=C:/MinGW64 /local/include/libxslt"
29+ ext . config_options << "--with-exslt-include=C:/MinGW64 /local/include/libexslt"
3030
3131 ENV . each do |key , val |
3232 next unless key =~ /\A with_(\w +)\z /i
You can’t perform that action at this time.
0 commit comments