ruby-dcl 1.7.0 → 1.7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/extconf.rb +4 -5
- data/lib/dcl/version.rb +1 -1
- metadata +1 -1
data/extconf.rb
CHANGED
@@ -11,11 +11,10 @@ rescue LoadError
|
|
11
11
|
end
|
12
12
|
|
13
13
|
#dir_config('narray',$sitearchdir,$sitearchdir)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
narray_lib = "#{narray_installpath}/gems/#{narray_fullname}/"
|
14
|
+
gem_home=(`gem environment GEM_HOME`).chomp
|
15
|
+
narray_dir = Dir.glob("#{gem_home}/gems/narray-*").sort[-1]
|
16
|
+
narray_include = narray_dir
|
17
|
+
narray_lib = narray_dir
|
19
18
|
dir_config('narray',narray_include,narray_lib)
|
20
19
|
if ( ! ( have_header("narray.h") && have_header("narray_config.h") ) ) then
|
21
20
|
print <<-EOS
|
data/lib/dcl/version.rb
CHANGED