pkg-config 1.1.9 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abd536406fdd0f9324ed9018a916abf54f8a8f72
4
- data.tar.gz: 2c952620ead71a9146f6f727a18bb1ba48626417
3
+ metadata.gz: 56c8d39cbcc6e7d0d73b4d05ee95f875d4867526
4
+ data.tar.gz: 428f76ce6f03f61c462b0325084f82dac36e7967
5
5
  SHA512:
6
- metadata.gz: 9716fdb999f306103d333de457b82d5da653a1d498f693007f036f9375f8847c33c9c3f3e5fe20c58f627fcf0e700e0e7703252b77f371f14cb9730f96e700ef
7
- data.tar.gz: ce341026226c5ab88c10e9b021bd91961abf96c446e125d40fff4d86f99eb46905e0dbb5103d7c33719c24b4f975e09dbd2acc5353a51bd2defc1afd4a1d392e
6
+ metadata.gz: cb0a0bd9b5cc84faf8f77fadd5a0626a395ed9d6cf2a4b6562afebebeed19c7639e50c1fe31233d73eba2d90b8fa3ea1ce1d81edf8c516b8a6bfcb301c940ab8
7
+ data.tar.gz: 10731a8fbc4e92cfda51646c467f15222ddc10630f0b9f7fe1e200e169146209696e46e7cac821e3ffbe6743c64ae1467fb83a2f85f043d0043b74a7ac0bdda9
data/NEWS CHANGED
@@ -1,5 +1,15 @@
1
1
  = NEWS
2
2
 
3
+ == 1.2.0 - 2017-04-25
4
+
5
+ === Improvements
6
+
7
+ * Supported x32 environment. [GitHub#12][Reported by Elan Ruusamäe]
8
+
9
+ === Thanks
10
+
11
+ * Elan Ruusamäe
12
+
3
13
  == 1.1.9 - 2017-04-20
4
14
 
5
15
  * Supported C++ compiler.
@@ -254,7 +254,7 @@ class PackageConfig
254
254
  all_libs = all_libs.join(" ").gsub(/-([Ll]) /, '\1').split.uniq
255
255
  path_flags, other_flags = all_libs.partition {|flag| /\A-L/ =~ flag}
256
256
  path_flags = path_flags.reject do |flag|
257
- /\A-L\/usr\/lib(?:64)?\z/ =~ flag
257
+ /\A-L\/usr\/lib(?:64|x32)?\z/ =~ flag
258
258
  end
259
259
  if @msvc_syntax
260
260
  path_flags = path_flags.collect do |flag|
@@ -316,11 +316,13 @@ class PackageConfig
316
316
  arch_depended_path = Dir.glob('/usr/lib/*/pkgconfig').join(SEPARATOR)
317
317
  default_paths = [
318
318
  "/usr/local/lib64/pkgconfig",
319
+ "/usr/local/libx32/pkgconfig",
319
320
  "/usr/local/lib/pkgconfig",
320
321
  "/usr/local/libdata/pkgconfig",
321
322
  "/opt/local/lib/pkgconfig",
322
323
  arch_depended_path,
323
324
  "/usr/lib64/pkgconfig",
325
+ "/usr/libx32/pkgconfig",
324
326
  "/usr/lib/pkgconfig",
325
327
  "/usr/libdata/pkgconfig",
326
328
  "/usr/X11/lib/pkgconfig",
@@ -338,6 +340,7 @@ class PackageConfig
338
340
  Dir.glob((pkg_config_prefix + "lib/*/pkgconfig").to_s).join(SEPARATOR)
339
341
  [pkg_config_arch_depended_path,
340
342
  (pkg_config_prefix + "lib64/pkgconfig").to_s,
343
+ (pkg_config_prefix + "libx32/pkgconfig").to_s,
341
344
  (pkg_config_prefix + "lib/pkgconfig").to_s,
342
345
  (pkg_config_prefix + "libdata/pkgconfig").to_s,
343
346
  default_path].join(SEPARATOR)
@@ -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.9"
18
+ VERSION = "1.2.0"
19
19
  end
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.9
4
+ version: 1.2.0
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-20 00:00:00.000000000 Z
11
+ date: 2017-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-unit