helix_runtime 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +4 -4
- data/ext/helix_runtime/native/helix_runtime.c +1 -1
- data/lib/helix_runtime/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 716c28ce23c6589d420b297f0b64af9e1617d6a3
|
4
|
+
data.tar.gz: 5410d1e90b5f17e88d02dcecc41591db737234be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 863519804cae3bdc1307392c74d36d3aa8bef333654f83da42978974082828aa0ef66740654a56bbe3acff850523ebbedb1f041fac437c7a1cea952220236c8e
|
7
|
+
data.tar.gz: e8e0a3d69976951c46b89fbb552ef34c17fd6bf7a8ddbbf732e540a63c32d7693537cfff16b83a5c011f75a5a07d99ed0f611fd675a20d5a71bb4648641d0f45
|
data/Rakefile
CHANGED
@@ -46,16 +46,16 @@ end
|
|
46
46
|
|
47
47
|
directory windows_build_dir
|
48
48
|
|
49
|
-
def dlltool
|
49
|
+
def dlltool(arch = nil)
|
50
50
|
# allow override with env vars
|
51
51
|
if dlltool_env = ENV['DLLTOOL']
|
52
52
|
dlltool_env
|
53
53
|
# if on windows
|
54
54
|
elsif RUBY_PLATFORM =~ /mingw/
|
55
55
|
"dlltool.exe"
|
56
|
-
elsif system("x86_64-w64-mingw32-dlltool > /dev/null")
|
56
|
+
elsif system("x86_64-w64-mingw32-dlltool > /dev/null") && arch == "i386:x86-64"
|
57
57
|
"x86_64-w64-mingw32-dlltool"
|
58
|
-
elsif system("i686-w64-mingw32-dlltool > /dev/null")
|
58
|
+
elsif system("i686-w64-mingw32-dlltool > /dev/null") && arch == "i386"
|
59
59
|
"i686-w64-mingw32-dlltool"
|
60
60
|
else
|
61
61
|
"dlltool"
|
@@ -66,7 +66,7 @@ def build_native_lib(arch, dll_name, native_def_file, target)
|
|
66
66
|
Dir.mktmpdir do |dir|
|
67
67
|
Dir.chdir(dir) do
|
68
68
|
# Generate and then move. Symbols include generated file name, so avoid long path.
|
69
|
-
cmd = [dlltool]
|
69
|
+
cmd = [dlltool(arch)]
|
70
70
|
cmd << "-D #{dll_name}"
|
71
71
|
cmd << "-m #{arch}" if arch
|
72
72
|
cmd << "-d #{native_def_file}"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: helix_runtime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yehuda Katz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-09-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.6.
|
157
|
+
rubygems_version: 2.6.13
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: The Helix Runtime
|