ruby-static-tracing 0.0.8 → 0.0.9

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: 1739966e327b1873544fa25c605809f98d34b8642e0a75d5865cad14f97cbd39
4
- data.tar.gz: 5f81ed2d2d06e4f78f38808d0950350fc167b10deefb8b65c1ded6a78bc73a5e
3
+ metadata.gz: e2f3975ea6eb0cdb92c75c7ef8cba1108e6726faf3f717234362fb929f581bcc
4
+ data.tar.gz: a2c44d01f9c2a47fb22cb5c5c94dc1ca7bbf124a24bcee6a7a759d58c445eb63
5
5
  SHA512:
6
- metadata.gz: 776766ee997457c52f4c47d5ee72169b59d2ebe1fcef939740e2306f3502525e761ff48ca54c392e6d646b8eac834a1371317d0f07defbbf1a2775b4406a7891
7
- data.tar.gz: 9c5fe12c56366477de2c471fc55de27e2c5dc387ed698b3fcddf18d8569ea69e8d9202815a4dd4e076745b5d8c33642896aca08e724a47fdd9646ce7cf7073f0
6
+ metadata.gz: 225c4efd3a79f51da0c702afa9475b2a28d0a2a47d9696c8b1c0331867478fe002ae3f7f9f23e669d87e1e1ccc724b58e7213bd589af8302a9eb118b2a39d493
7
+ data.tar.gz: 7d6aab61e651559e87b51984382cf3a77985e531cfdfb9ec5c97805de712bba048e1a512f99df5d789f67acccc7a16254576cd1c00ce239a2dbf9a741f879ca3
@@ -41,6 +41,8 @@ if StaticTracing::Platform.linux?
41
41
  $CFLAGS << "-O3"
42
42
  end
43
43
 
44
+ LDFLAGS=" -Wl,-rpath='\$\$ORIGIN/../ruby-static-tracing' "
45
+
44
46
  create_makefile(MKMF_TARGET, platform_dir("linux"))
45
47
 
46
48
  # - Darwin/BSD and other dtrace platforms, via libusdt
@@ -14,7 +14,8 @@ if StaticTracing::Platform.linux?
14
14
  all:
15
15
  cd #{File.join(BASE_DIR, 'libstapsdt')} && make
16
16
  touch deps.so # HACK
17
- cp #{File.join(BASE_DIR, 'libstapsdt', 'out/libstapsdt.a')} #{LIB_DIR}
17
+ cp #{File.join(BASE_DIR, 'libstapsdt', 'out/libstapsdt.so.0')} #{LIB_DIR}
18
+ cd #{LIB_DIR} && ln -sf libstapsdt.so.0 libstapsdt.so
18
19
  clean:
19
20
  cd #{File.join(BASE_DIR, 'libstapsdt')} && make clean
20
21
  install:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module StaticTracing
4
- VERSION = '0.0.8'
4
+ VERSION = '0.0.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-static-tracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel