pkg-config 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS +4 -0
- data/lib/pkg-config.rb +11 -1
- data/lib/pkg-config/version.rb +2 -2
- data/test/test_pkg_config.rb +2 -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: abd536406fdd0f9324ed9018a916abf54f8a8f72
|
4
|
+
data.tar.gz: 2c952620ead71a9146f6f727a18bb1ba48626417
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9716fdb999f306103d333de457b82d5da653a1d498f693007f036f9375f8847c33c9c3f3e5fe20c58f627fcf0e700e0e7703252b77f371f14cb9730f96e700ef
|
7
|
+
data.tar.gz: ce341026226c5ab88c10e9b021bd91961abf96c446e125d40fff4d86f99eb46905e0dbb5103d7c33719c24b4f975e09dbd2acc5353a51bd2defc1afd4a1d392e
|
data/NEWS
CHANGED
data/lib/pkg-config.rb
CHANGED
@@ -150,6 +150,10 @@ class PackageConfig
|
|
150
150
|
collect_cflags[0].join(" ")
|
151
151
|
end
|
152
152
|
|
153
|
+
def cflags_only_other
|
154
|
+
collect_cflags[1].join(" ")
|
155
|
+
end
|
156
|
+
|
153
157
|
def libs
|
154
158
|
path_flags, other_flags = collect_libs
|
155
159
|
(path_flags + other_flags).join(" ")
|
@@ -406,6 +410,10 @@ module PKGConfig
|
|
406
410
|
package_config(pkg).cflags_only_I
|
407
411
|
end
|
408
412
|
|
413
|
+
def cflags_only_other(pkg)
|
414
|
+
package_config(pkg).cflags_only_other
|
415
|
+
end
|
416
|
+
|
409
417
|
def modversion(pkg)
|
410
418
|
package_config(pkg).version
|
411
419
|
end
|
@@ -450,7 +458,9 @@ module PKGConfig
|
|
450
458
|
else
|
451
459
|
$LDFLAGS += ' ' + dldflags
|
452
460
|
end
|
453
|
-
$CFLAGS += ' ' +
|
461
|
+
$CFLAGS += ' ' + cflags_only_other(pkg)
|
462
|
+
$CXXFLAGS += ' ' + cflags_only_other(pkg)
|
463
|
+
$INCFLAGS += ' ' + cflags_only_I(pkg)
|
454
464
|
end
|
455
465
|
enough_version
|
456
466
|
end
|
data/lib/pkg-config/version.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright 2012-
|
1
|
+
# Copyright 2012-2017 Kouhei Sutou <kou@cozmixng.org>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -15,5 +15,5 @@
|
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
17
|
module PKGConfig
|
18
|
-
VERSION = "1.1.
|
18
|
+
VERSION = "1.1.9"
|
19
19
|
end
|
data/test/test_pkg_config.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.1.
|
4
|
+
version: 1.1.9
|
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-04-
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-unit
|