rb_sys 0.9.100 → 0.9.101
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 +9 -1
- 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: 3ef7713f1e1680d403e763590702715ee03948e9fcd7bd8f91f6033c6bd9c3bb
|
4
|
+
data.tar.gz: f89d00a52ddc5375ea6f63d72d42bda1c3448c5c5c65caa14a045a4253a6efd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7ef881dc7cb92f353b74dd9671f487a0af65f03d9344b2f8c2c8cec573b8c49120d79bbfacdd5d1ec442b00b971a320d42de9a344d986bbcf77dc80a0d49e2f
|
7
|
+
data.tar.gz: dfa31570bd2f82e44d7ecb465d5fbbcda15f78284a744ac80b1df93f207c7ff703096a63fb17185c70d4848868cbfdfb07474f466ae349b6cfd9f484907d15a3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rb_sys/mkmf.rb
CHANGED
@@ -52,7 +52,8 @@ module RbSys
|
|
52
52
|
full_cargo_command = cargo_command(srcdir, builder)
|
53
53
|
|
54
54
|
global_rustflags = []
|
55
|
-
|
55
|
+
# Re-enable if this causes issues, but it should be fine and it prevents unnecessary recompilation
|
56
|
+
# global_rustflags << "--cfg=rb_sys_gem" unless builder.use_cargo_build
|
56
57
|
global_rustflags << "--cfg=rb_sys_use_stable_api_compiled_fallback" if builder.use_stable_api_compiled_fallback?
|
57
58
|
|
58
59
|
make_install = +<<~MAKE
|
@@ -134,6 +135,7 @@ module RbSys
|
|
134
135
|
|
135
136
|
install-so: $(DLLIB) #{timestamp_file("sitearchdir")}
|
136
137
|
\t$(ECHO) installing $(DLLIB) to $(RUBYARCHDIR)
|
138
|
+
\t#{fixup_libnames}
|
137
139
|
\t$(Q) $(MAKEDIRS) $(RUBYARCHDIR)
|
138
140
|
\t$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
139
141
|
|
@@ -278,6 +280,12 @@ module RbSys
|
|
278
280
|
find_executable("cargo").nil?
|
279
281
|
end
|
280
282
|
|
283
|
+
def fixup_libnames
|
284
|
+
return unless find_executable("install_name_tool")
|
285
|
+
|
286
|
+
'$(Q) install_name_tool -id "" $(DLLIB)'
|
287
|
+
end
|
288
|
+
|
281
289
|
def if_eq_stmt(a, b)
|
282
290
|
if $nmake
|
283
291
|
"!IF #{a.inspect} == #{b.inspect}"
|
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.101
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian Ker-Seymer
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
Lvd35BNvZkhFzs9xfykhurpkT2TiP2F3ZFn9dwLXMFe41pwrtEYLIWhYi8mUG4Ek
|
30
30
|
6aR8M/tqIpChVV39
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2024-08-
|
32
|
+
date: 2024-08-15 00:00:00.000000000 Z
|
33
33
|
dependencies: []
|
34
34
|
description:
|
35
35
|
email:
|
metadata.gz.sig
CHANGED
Binary file
|