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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a7c4ec331b2b0293a30e1d5497b09ca7b06da48
4
- data.tar.gz: 66b5acb2cf69fd056d21e621ece1f7fcda559741
3
+ metadata.gz: abd536406fdd0f9324ed9018a916abf54f8a8f72
4
+ data.tar.gz: 2c952620ead71a9146f6f727a18bb1ba48626417
5
5
  SHA512:
6
- metadata.gz: 73e101114e72022c6d1f7f2ab7c6ce0ad9543ec2d664f284bad719aadbe219e7c5b68f9f0d71679de73ad7f6cbaf767502fb10ddd1af1807165259e000a53b30
7
- data.tar.gz: 64270b4fc5c89ab9171138715ec29cdb3aebf732bbea06c925538a243eee1ac967edd390eb41d26e46d394c4d2a7298e38dfaa158548c2ae7534596901e1ff48
6
+ metadata.gz: 9716fdb999f306103d333de457b82d5da653a1d498f693007f036f9375f8847c33c9c3f3e5fe20c58f627fcf0e700e0e7703252b77f371f14cb9730f96e700ef
7
+ data.tar.gz: ce341026226c5ab88c10e9b021bd91961abf96c446e125d40fff4d86f99eb46905e0dbb5103d7c33719c24b4f975e09dbd2acc5353a51bd2defc1afd4a1d392e
data/NEWS CHANGED
@@ -1,5 +1,9 @@
1
1
  = NEWS
2
2
 
3
+ == 1.1.9 - 2017-04-20
4
+
5
+ * Supported C++ compiler.
6
+
3
7
  == 1.1.8 - 2017-04-19
4
8
 
5
9
  * Stopped to require mkmf.
@@ -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 += ' ' + cflags(pkg)
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
@@ -1,4 +1,4 @@
1
- # Copyright 2012-2016 Kouhei Sutou <kou@cozmixng.org>
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.8"
18
+ VERSION = "1.1.9"
19
19
  end
@@ -1,4 +1,5 @@
1
- require 'pkg-config'
1
+ require "mkmf"
2
+ require "pkg-config"
2
3
 
3
4
  class PkgConfigTest < Test::Unit::TestCase
4
5
  def setup
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.8
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-19 00:00:00.000000000 Z
11
+ date: 2017-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit