rb_sys 0.9.45 → 0.9.46

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fef5d02b379438417ecd1658633286c3451903001535fdefcd3ec23b0de9535
4
- data.tar.gz: 74f2983457a17bac43455422d73cb7bb420b6cc907df16deb13d296dc8cd5b0f
3
+ metadata.gz: f77f084cfb03e13eb0357b3e63b0d8d516ff8e1fac6acf9c6bb98072668ca730
4
+ data.tar.gz: c3db1bd7e0886b182555ec81a539e6f91a5beaf172efb588b6efffd2733ad27b
5
5
  SHA512:
6
- metadata.gz: 3d9b8cb2f0fc06412e3517acf78058865f98b25727ec9f438c8dc4137e288173b601ed3cb30e7e2ed632e18e80f2f927efda3e61fb502361b8e937c3aee8819f
7
- data.tar.gz: 1178a046893283fdcd29cd8613f0b87e3c5512572f3b0ff5c487a0135f4c19720f502305a86456c18d50dedfb42090a1a37cf68db009f3f4b8cb012d9af423d2
6
+ metadata.gz: f54a91c1e95826f61c1df74e5c971e8a41e9fa07a74759f1fb6e8ce854ec174e8097e178198a3d8319e0e192229fab54090ad20e1d1940b9fb9d92675a8ac6cf
7
+ data.tar.gz: 1926663702290069dec03533acb610090fac519c37c086e6ff3f52c0a8e70e9be21a960c3ce17e8ad81a2dccf7a90709dde6093e4cf642255c8aed03bee6d2d1
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rb_sys/mkmf.rb CHANGED
@@ -168,9 +168,9 @@ module RbSys
168
168
 
169
169
  def env_vars(builder)
170
170
  lines = builder.build_env.map { |k, v| env_line(k, v) }
171
- lines << env_line("CC", env_or_makefile_config("CC"))
172
- lines << env_line("CXX", env_or_makefile_config("CXX"))
173
- lines << env_line("AR", env_or_makefile_config("AR")) unless env_or_makefile_config("AR") == "libtool -static"
171
+ lines << env_line("CC", strip_cmd(env_or_makefile_config("CC")))
172
+ lines << env_line("CXX", strip_cmd(env_or_makefile_config("CXX")))
173
+ lines << env_line("AR", strip_cmd(env_or_makefile_config("AR"))) unless env_or_makefile_config("AR") == "libtool -static"
174
174
  lines.compact.join("\n")
175
175
  end
176
176
 
@@ -179,6 +179,10 @@ module RbSys
179
179
  export_env(k, v.gsub("\n", '\n'))
180
180
  end
181
181
 
182
+ def strip_cmd(cmd)
183
+ cmd.gsub("-nologo", "").strip
184
+ end
185
+
182
186
  def env_or_makefile_config(key)
183
187
  ENV[key] || RbConfig::MAKEFILE_CONFIG[key]
184
188
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbSys
4
- VERSION = "0.9.45"
4
+ VERSION = "0.9.46"
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb_sys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.45
4
+ version: 0.9.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Ker-Seymer
@@ -30,7 +30,7 @@ cert_chain:
30
30
  Rl+ASkq2/1i07TkBpCf+2hq66+h/hx+/Y/KrUzXfe0jtvil0WESkJT2kqRqHWNhD
31
31
  9GKBxaQlXokNDtWCm1/gl6cD8WRZ0N5S4ZGJT1FLLsA=
32
32
  -----END CERTIFICATE-----
33
- date: 2022-12-04 00:00:00.000000000 Z
33
+ date: 2022-12-05 00:00:00.000000000 Z
34
34
  dependencies: []
35
35
  description:
36
36
  email:
metadata.gz.sig CHANGED
Binary file