rscons 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ module Rscons
17
17
  def run(target, sources, cache, env, vars = {})
18
18
  # build sources to linkable objects
19
19
  objects = env.build_sources(sources, [env['OBJSUFFIX'], env['LIBSUFFIX']].flatten, cache, vars)
20
+ return false unless objects
20
21
  ld = if env["LD"]
21
22
  env["LD"]
22
23
  elsif sources.find {|s| s.has_suffix?(env["DSUFFIX"])}
@@ -72,7 +72,7 @@ module Rscons
72
72
  elsif varval.is_a?(Array)
73
73
  varval.map {|vv| expand_varref("#{prefix}#{vv}#{suffix}")}.flatten
74
74
  else
75
- raise "I do not know how to expand a variable reference to a #{varval.class.name}"
75
+ raise "I do not know how to expand a variable reference to a #{varval.class.name} (from #{varname.inspect} => #{@vars[varname].inspect})"
76
76
  end
77
77
  else
78
78
  varref
@@ -1,4 +1,4 @@
1
1
  module Rscons
2
2
  # gem version
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rscons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-11 00:00:00.000000000 Z
12
+ date: 2013-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec-core
@@ -217,7 +217,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
217
  version: '0'
218
218
  segments:
219
219
  - 0
220
- hash: -323367821
220
+ hash: -950268653
221
221
  required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  none: false
223
223
  requirements:
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  version: '0'
227
227
  segments:
228
228
  - 0
229
- hash: -323367821
229
+ hash: -950268653
230
230
  requirements: []
231
231
  rubyforge_project:
232
232
  rubygems_version: 1.8.23