pkg-config 1.4.8 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +10 -0
- data/lib/pkg-config/version.rb +1 -1
- data/lib/pkg-config.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8744b07afc1df6d424780519cc0bc63c958c3933b1b4ee58ed8c97b73c240f9
|
4
|
+
data.tar.gz: 4cdef6c98e5f88ac45a0bc5c26f580a1d9fb31fb637bfd37eb014e7aa6798bff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daad81936552a5db084c32c3c91825917cdb5f35c3940aa7cd0249f433ab02b5b5ee779538e7cad51721f9daed7890e9a45571244078f927db895b243045a2bd
|
7
|
+
data.tar.gz: 970f917f76ed381f3d427c3add37495107c5bb556aa9470b72459b06bb768b4ad21215f9efd6fb712535a9f99f9ffb2019313e562d5f57c1228de5824634c36b
|
data/NEWS
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
= NEWS
|
2
2
|
|
3
|
+
== 1.4.9 - 2022-07-31
|
4
|
+
|
5
|
+
This is a bug fix release of 1.4.8. All 1.4.8 users should be upgraded
|
6
|
+
to 1.4.9.
|
7
|
+
|
8
|
+
=== Fixes
|
9
|
+
|
10
|
+
* Fixed a regression bug in 1.4.8 that PkgConfig.have_package can't
|
11
|
+
detect nonexistent package.
|
12
|
+
|
3
13
|
== 1.4.8 - 2022-07-30
|
4
14
|
|
5
15
|
=== Improvements
|
data/lib/pkg-config/version.rb
CHANGED
data/lib/pkg-config.rb
CHANGED
@@ -598,13 +598,14 @@ module PKGConfig
|
|
598
598
|
message << " version (>= #{major}.#{minor}.#{micro})"
|
599
599
|
end
|
600
600
|
major ||= 0
|
601
|
-
|
601
|
+
result = checking_for(checking_message(message), "%s") do
|
602
602
|
if check_version?(pkg, major, minor, micro)
|
603
603
|
"yes (#{modversion(pkg)})"
|
604
604
|
else
|
605
605
|
"no"
|
606
606
|
end
|
607
607
|
end
|
608
|
+
enough_version = (result != "no")
|
608
609
|
if enough_version
|
609
610
|
libraries = libs_only_l(pkg)
|
610
611
|
dldflags = libs(pkg)
|