pkg-config 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +6 -0
- data/lib/pkg-config.rb +8 -2
- data/lib/pkg-config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d606c8e484eaba6b266086bb721c1fd7297b00e
|
4
|
+
data.tar.gz: '09e2b18fc2306f19c6f8c279a13e93544e5410e7'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d19603dcfa45ad565d3a74dcd8ecb819afcf0e486afe67fbb4d716b06e8cf63e3bff5a0b32e8c185fb0ea34fc62c3866a69d49b7be97c1f3c6b8e142de4c5edd
|
7
|
+
data.tar.gz: 9b7acfbe20f12f8fb52fe877d7f54104dcb894fa5bb178fd1b451ee3e1b11ff489ba904695b17aea34e892c57cb394984163527bd31537e0d116825d7e5407d6
|
data/NEWS
CHANGED
data/lib/pkg-config.rb
CHANGED
@@ -313,14 +313,14 @@ class PackageConfig
|
|
313
313
|
end
|
314
314
|
|
315
315
|
def guess_default_path
|
316
|
-
arch_depended_path = Dir.glob(
|
316
|
+
arch_depended_path = Dir.glob("/usr/lib/*/pkgconfig")
|
317
317
|
default_paths = [
|
318
318
|
"/usr/local/lib64/pkgconfig",
|
319
319
|
"/usr/local/libx32/pkgconfig",
|
320
320
|
"/usr/local/lib/pkgconfig",
|
321
321
|
"/usr/local/libdata/pkgconfig",
|
322
322
|
"/opt/local/lib/pkgconfig",
|
323
|
-
arch_depended_path,
|
323
|
+
*arch_depended_path,
|
324
324
|
"/usr/lib64/pkgconfig",
|
325
325
|
"/usr/libx32/pkgconfig",
|
326
326
|
"/usr/lib/pkgconfig",
|
@@ -329,6 +329,12 @@ class PackageConfig
|
|
329
329
|
"/opt/X11/lib/pkgconfig",
|
330
330
|
"/usr/share/pkgconfig",
|
331
331
|
]
|
332
|
+
case RUBY_PLATFORM
|
333
|
+
when "x86-mingw32"
|
334
|
+
default_paths.concat(Dir.glob("c:/msys*/mingw32/lib/pkgconfig"))
|
335
|
+
when "x64-mingw32"
|
336
|
+
default_paths.concat(Dir.glob("c:/msys*/mingw64/lib/pkgconfig"))
|
337
|
+
end
|
332
338
|
default_path = default_paths.join(SEPARATOR)
|
333
339
|
libdir = ENV["PKG_CONFIG_LIBDIR"]
|
334
340
|
default_path = [libdir, default_path].join(SEPARATOR) if 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.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|