libyajl2 0.1.6 → 0.1.7

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: 896fc728c70b7e65781206c53da09f49be52b057
4
- data.tar.gz: a2b2e6f2a6e987062247e0378c5b13ed28d411ee
3
+ metadata.gz: 1a51b117347bf37e6f62932eeddc3d5d7858a469
4
+ data.tar.gz: aad8f83c51a8151eb72e3ec60702afe22f50b517
5
5
  SHA512:
6
- metadata.gz: 7ca52643419c5b38eeddef64a7ec6cb8b91359c7eae90083a7f8b4083634cfe0d1d0056aaa706890b12deef9a8a668ad0dc375eaeecd3134fedec6bc301ec565
7
- data.tar.gz: a1fea35d16286b8a05b2f0a1ea4fac3219cbd681688771daa35c4585a23da678486e3a853b8829fd16fea5903c001a0805d12f8c417fabf8d618ba593ba91065
6
+ metadata.gz: 3be2641725441c95e3061cf47c04df172b1fe3e97533c81b49cbb221191d4bde0307d1d89595ae592f5a9538e0faf575d1469ca721314535b030e28010d185ab
7
+ data.tar.gz: f2b7bb40dd4c4e56e8c0fff390179f06d12f61ff896db839dde10d0326888b120b494bc2fa1c4c616ac44eef5a0b5ec77beb727a9173726d9f50d369efa24be7
@@ -50,6 +50,12 @@ module Libyajl2Build
50
50
  setup_env
51
51
  dir_config("libyajl")
52
52
  create_makefile("libyajl")
53
+
54
+ # ruby on windows helpfully drops a *.def file to export Init_libyajl which we don't need because this isn't really a ruby extension
55
+ FileUtils.rm_f("*.def")
56
+ # and we need to surgically remove it from the LDFLAGS
57
+ $LDFLAGS.gsub!(/\S+.def/, ' ')
58
+
53
59
  # we cheat and build it right away...
54
60
  system("make V=1")
55
61
  # ...so we can hack up what install does later and copy over the include files
@@ -1,3 +1,3 @@
1
1
  module Libyajl2
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libyajl2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - lamont-granquist