dep_selector 1.0.2 → 1.0.3.rc.0
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 +4 -4
- data/ext/dep_gecode/extconf.rb +14 -1
- data/lib/dep_selector/dep_selector_version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2fb45b4a58da3f5eda14db0f923b8a8ade1eb25c
|
|
4
|
+
data.tar.gz: b345e1d830ca520b50a0890d3e918c3a9896a3dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f03bb41af436849192ed36d2b7ca3fc3184bff4d4a61ced744736208f35a6ecf264b9a0e1116f2b49a039991b2a5b61107fbe7e295251e2d4de2a583dd512a4c
|
|
7
|
+
data.tar.gz: 7808dd9755196b5cdc096f2d5dcc06a08ca91268241ba7e017db60fae5951f60ae28d31a7bee9061e28e65105bd91cf069160be265683da3c5e419270070a195
|
data/ext/dep_gecode/extconf.rb
CHANGED
|
@@ -28,7 +28,20 @@ if !defined?(RUBY_ENGINE) || RUBY_ENGINE == 'ruby' || RUBY_ENGINE == 'rbx'
|
|
|
28
28
|
|
|
29
29
|
opt_path = DepSelectorLibgecode.opt_path
|
|
30
30
|
include_path = DepSelectorLibgecode.include_path
|
|
31
|
-
find_library("gecodesupport", nil, opt_path)
|
|
31
|
+
if find_library("gecodesupport", nil, opt_path)
|
|
32
|
+
|
|
33
|
+
# Ruby sometimes has a blank RPATHFLAG, even though it's on a system that
|
|
34
|
+
# really should be setting rpath flags. If there _is_ an rpath flag we'll
|
|
35
|
+
# honor it, but if not, we'll assume that ruby is lying and set it
|
|
36
|
+
# ourselves.
|
|
37
|
+
#
|
|
38
|
+
# See also: https://github.com/opscode/dep-selector/issues/23
|
|
39
|
+
ruby_rpathflag = RbConfig::MAKEFILE_CONFIG["RPATHFLAG"]
|
|
40
|
+
if ruby_rpathflag.nil? || ruby_rpathflag.empty?
|
|
41
|
+
hax_rpath_flags = " -Wl,-rpath,%1$-s" % [opt_path]
|
|
42
|
+
$DLDFLAGS << hax_rpath_flags
|
|
43
|
+
end
|
|
44
|
+
end
|
|
32
45
|
# find_header doesn't seem to work for stuff like `gecode/thing.hh`
|
|
33
46
|
$INCFLAGS << " -I#{include_path}"
|
|
34
47
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dep_selector
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3.rc.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Walters
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-04-
|
|
12
|
+
date: 2014-04-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: ffi
|
|
@@ -129,9 +129,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
129
129
|
version: 1.9.2
|
|
130
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
requirements:
|
|
132
|
-
- - '
|
|
132
|
+
- - '>'
|
|
133
133
|
- !ruby/object:Gem::Version
|
|
134
|
-
version:
|
|
134
|
+
version: 1.3.1
|
|
135
135
|
requirements:
|
|
136
136
|
- gecode, version 3.5 or greater
|
|
137
137
|
- g++
|