xcellus 1.3 → 1.4

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
  SHA1:
3
- metadata.gz: 468eb3b4eb16f051d2d75fcf6093402f0523ede7
4
- data.tar.gz: 5f522f363809f1b79109ad6a2312bbe61c7dc957
3
+ metadata.gz: 48686cff87b2df8d35211de21c1d60e4cc866f79
4
+ data.tar.gz: 237c9c216d6c0f8095fa22a73f26e8b2952e8353
5
5
  SHA512:
6
- metadata.gz: 842c116f362086f0aeca436aa440d9afe7bb541f411e0fe65137919b77c6be7d9a66da1c477b04488fdc8ae9b62eb08e34bbfe675c15421dcf8555180cd48e06
7
- data.tar.gz: 9ae0777107a9eb8921f9c7a64f173abbde547cff1be9dc8634f5c2df038d56a214006c631f854b50bcf4fa838c9592aadb05693d886fab7c546e44ded7ca861d
6
+ metadata.gz: a40ffffdacad7d043d8d86aef085c82bf9c7565c50a12f2221933101897e1f22e1a754212827d3cbdee994cf49d63b7f92c3b974279aa564cd2f24fe88c08b8c
7
+ data.tar.gz: 5326309ead1a49c63ea899f240e4a5455e5b4cd2d63e16c5f67d8a91f2bad798ff6a260ba03f2913ace07bd610290ad608d3a5007aef99a5d974e84afd5d23e1
@@ -0,0 +1,13 @@
1
+ require 'mkmf'
2
+
3
+ PREFIX = File.expand_path(File.join(File.dirname(__FILE__), '..'))
4
+ task :default do
5
+ if RbConfig::CONFIG['target'] =~ /darwin/
6
+ f = File.join PREFIX, 'lib', 'xcellus_bin.bundle'
7
+ so = File.join PREFIX, 'bin', 'libxcbindings-darwin-amd64.so'
8
+ open('/tmp/xxx', 'w') do |fi|
9
+ fi.puts "install_name_tool -change 'libxcbindings-darwin-amd64.so' '#{so}' #{f}"
10
+ end
11
+ system "install_name_tool -change 'libxcbindings-darwin-amd64.so' '#{so}' #{f}"
12
+ end
13
+ end
@@ -10,5 +10,5 @@ bindings = "xcbindings-#{target_platform}-amd64"
10
10
 
11
11
  dir_config(extension_name)
12
12
  dir_config(bindings, '$(srcdir)/../../bin', '$(srcdir)/../../bin')
13
- $LDFLAGS << " -l#{bindings} -Wl,-rpath,./../bin"
13
+ $LDFLAGS << " -l#{bindings} -Wl,-rpath,./../bin -Wl,-rpath,'$$ORIGIN/../bin' "
14
14
  create_makefile(extension_name)
@@ -3,7 +3,7 @@ require File.expand_path('../xcellus_bin', __FILE__)
3
3
  require 'json'
4
4
 
5
5
  module Xcellus
6
- VERSION = '1.3'.freeze
6
+ VERSION = '1.4'.freeze
7
7
 
8
8
  class << self
9
9
  def transform(input)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcellus
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.3'
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Gama
@@ -60,11 +60,13 @@ email:
60
60
  executables: []
61
61
  extensions:
62
62
  - ext/xcellus_bin/extconf.rb
63
+ - ext/Rakefile
63
64
  extra_rdoc_files: []
64
65
  files:
65
66
  - bin/libxcbindings-darwin-amd64.so
66
67
  - bin/libxcbindings-linux-amd64.so
67
68
  - bin/libxcbindings.h
69
+ - ext/Rakefile
68
70
  - ext/xcellus_bin/extconf.rb
69
71
  - ext/xcellus_bin/xcellus_bin.c
70
72
  - lib/xcellus.rb