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 +4 -4
- data/ext/libyajl2/extconf.rb +6 -0
- data/lib/libyajl2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a51b117347bf37e6f62932eeddc3d5d7858a469
|
|
4
|
+
data.tar.gz: aad8f83c51a8151eb72e3ec60702afe22f50b517
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3be2641725441c95e3061cf47c04df172b1fe3e97533c81b49cbb221191d4bde0307d1d89595ae592f5a9538e0faf575d1469ca721314535b030e28010d185ab
|
|
7
|
+
data.tar.gz: f2b7bb40dd4c4e56e8c0fff390179f06d12f61ff896db839dde10d0326888b120b494bc2fa1c4c616ac44eef5a0b5ec77beb727a9173726d9f50d369efa24be7
|
data/ext/libyajl2/extconf.rb
CHANGED
|
@@ -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
|
data/lib/libyajl2/version.rb
CHANGED