rb_sys 0.9.100 → 0.9.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e35366a5b17cb841994750afc6434d3746ac620c7096d856776f69561e22200e
4
- data.tar.gz: c8a4d76f16b299b10bb7b96d59d0e111fcfbbae53923058abf29b36d842c84fc
3
+ metadata.gz: 3ef7713f1e1680d403e763590702715ee03948e9fcd7bd8f91f6033c6bd9c3bb
4
+ data.tar.gz: f89d00a52ddc5375ea6f63d72d42bda1c3448c5c5c65caa14a045a4253a6efd2
5
5
  SHA512:
6
- metadata.gz: 18ec84b10af9d00032438352a1bd059b344f1e6f50173fe961df34fb0e31be4f2ffa193a8fa59e8e575a6e085b8461e61b0441c33459cafefee81b8c61fd43e3
7
- data.tar.gz: 2a71e6668f3b2f0a147923f31db2e7e3da1b1f0dc6fb485c9cc91b1afe3ff2187efc2cffcf3e8d4a3dc4a6497fd8785542011998af1e4871a395a632c30f3c35
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
- global_rustflags << "--cfg=rb_sys_gem" unless builder.use_cargo_build
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}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RbSys
4
- VERSION = "0.9.100"
4
+ VERSION = "0.9.101"
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.100
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-02 00:00:00.000000000 Z
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