pkg-config 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +7 -0
- data/lib/pkg-config.rb +12 -2
- data/lib/pkg-config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 441b9cf21eb18bc90c0afc04f13d21a66c0590a6604cb7356bc3b62e4c7ed2e8
|
4
|
+
data.tar.gz: 4842d8905c8773c40ce6bf16528d7755eee1adbef1e29c44261252ea9118ba7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd40dbd62152b99a5f4ddea34f3e7c852e2cf8d6cc79511239397b364554bd709ec3c5404b521030ae47d7fa4683f2da846a8f5cc848ced8d4a97de5cda8085a
|
7
|
+
data.tar.gz: 28728ed76bfe8cc3c0582b8bbaac2df884124e1e8e4e30d951442be7ae28a45ac4c8982e67ecba0cf814ec1445a24416aba8d17600b12b00a7e2b3f1cb6776e8
|
data/NEWS
CHANGED
data/lib/pkg-config.rb
CHANGED
@@ -235,9 +235,15 @@ class PackageConfig
|
|
235
235
|
prefix = ""
|
236
236
|
case RUBY_PLATFORM
|
237
237
|
when "x86-mingw32"
|
238
|
-
|
238
|
+
ruby_prefix = RbConfig::CONFIG["prefix"]
|
239
|
+
candidates = Dir.glob("#{ruby_prefix}/msys{32,64,*}")
|
240
|
+
candidates.concat(Dir.glob("c:/msys{32,64,*}"))
|
241
|
+
prefix = candidates.first
|
239
242
|
when "x64-mingw32"
|
240
|
-
|
243
|
+
ruby_prefix = RbConfig::CONFIG["prefix"]
|
244
|
+
candidates = Dir.glob("#{ruby_prefix}/msys{64,*}")
|
245
|
+
candidates.concat(Dir.glob("c:/msys{64,*}"))
|
246
|
+
prefix = candidates.first
|
241
247
|
end
|
242
248
|
if /\A[a-z]:/i === path
|
243
249
|
"#{flag_option}#{path}"
|
@@ -357,8 +363,12 @@ class PackageConfig
|
|
357
363
|
]
|
358
364
|
case RUBY_PLATFORM
|
359
365
|
when "x86-mingw32"
|
366
|
+
prefix = RbConfig::CONFIG["prefix"]
|
367
|
+
default_paths.concat(Dir.glob("#{prefix}/msys*/mingw32/lib/pkgconfig"))
|
360
368
|
default_paths.concat(Dir.glob("c:/msys*/mingw32/lib/pkgconfig"))
|
361
369
|
when "x64-mingw32"
|
370
|
+
prefix = RbConfig::CONFIG["prefix"]
|
371
|
+
default_paths.concat(Dir.glob("#{prefix}/msys*/mingw64/lib/pkgconfig"))
|
362
372
|
default_paths.concat(Dir.glob("c:/msys*/mingw64/lib/pkgconfig"))
|
363
373
|
end
|
364
374
|
libdir = ENV["PKG_CONFIG_LIBDIR"]
|
data/lib/pkg-config/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pkg-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|