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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rb_sys/mkmf.rb +7 -3
- data/lib/rb_sys/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f77f084cfb03e13eb0357b3e63b0d8d516ff8e1fac6acf9c6bb98072668ca730
|
4
|
+
data.tar.gz: c3db1bd7e0886b182555ec81a539e6f91a5beaf172efb588b6efffd2733ad27b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/rb_sys/version.rb
CHANGED
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.
|
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-
|
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
|