tiny_tds 1.2.0-x64-mingw32 → 1.3.0-x64-mingw32

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: 7a5d02fe4d6a207febd272760574beef0b554daa
4
- data.tar.gz: 4fb9cf589f3685465f23796c92eec4f8bd7bc5b6
3
+ metadata.gz: 73bd4951846ceec174df8db2ffe067964ff3028f
4
+ data.tar.gz: 4a3cfac3894fbbab3c5bac96466c150b4cfebc9b
5
5
  SHA512:
6
- metadata.gz: a753bcdfa473fe0abd2ac9200e536c03e15a975d15c6b6ebe30b935bf853905bdcdc63c50aa4dabdabbc3fa19de51c9156bb17b228c034d993989853472789b2
7
- data.tar.gz: 38b31518c81a80fd425113923353b1863128f3ec28c6654f522d48fc4025672f60468176528aa97ae80ef17e92d045555e27c72e908f545e952534327a4b35fb
6
+ metadata.gz: af3973c153331fdd890d60cffdba2e1e06535111bdddaeb1c212dd81894bbcc9d71fb11896c5b8e25a465f39978234d1413dbd219271e8b4e0618e9a5a8c591e
7
+ data.tar.gz: 15805114c789ede730c1d1bce7e798b9bd67584facbc1f37341beeee311ca59d014e0796a4b3cc78ea4579815f6185792122b0af69ce52c06825e99d196e9bcf
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ * 1.3.0
2
+
3
+ * FreeTDS: Link libgcc statically for Windows. (#351) Fixes #349.
4
+
5
+
1
6
  * 1.2.0
2
7
 
3
8
  * Use OpenSSL v1.1.0e & FreeTDS v1.00.27 for Windows builds.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -205,7 +205,9 @@ def define_libssl_recipe(host)
205
205
  end
206
206
 
207
207
  def install
208
- super
208
+ unless installed?
209
+ execute('install', %Q(#{make_cmd} install_sw install_ssldirs))
210
+ end
209
211
  FileUtils.cp "#{work_path}/libcrypto32-#{version}-#{host}.dll", "#{path}/bin/"
210
212
  FileUtils.cp "#{work_path}/libssl32-#{version}-#{host}.dll", "#{path}/bin/"
211
213
  FileUtils.cp "#{work_path}/libcrypto.dll.a", "#{path}/lib/"
@@ -249,6 +251,16 @@ def define_freetds_recipe(host, libiconv, libssl, gnutls)
249
251
 
250
252
  class << recipe
251
253
 
254
+ def configure
255
+ cross = enable_config("cross-build")
256
+ if cross
257
+ prev_cc = ENV['CC']
258
+ ENV['CC'] = consolidated_host(gcc_cmd) + ' -static-libgcc'
259
+ end
260
+ super
261
+ ENV['CC'] = prev_cc if cross
262
+ end
263
+
252
264
  def install
253
265
  super_value = super
254
266
  # Install binstub target binaries.
@@ -3,7 +3,7 @@
3
3
  set -x
4
4
  set -e
5
5
 
6
- tag=1.3
6
+ tag=1.4
7
7
 
8
8
  docker pull metaskills/mssql-server-linux-tinytds:$tag
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_tds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Ken Collins
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-03-12 00:00:00.000000000 Z
13
+ date: 2017-03-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2