sqlite3 1.6.0.rc1-x64-mingw-ucrt → 1.6.0.rc2-x64-mingw-ucrt

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
  SHA256:
3
- metadata.gz: 4d5d113dc41fef94d416601e2de7f0b09f327bb136536ca852c14dbec21b52a5
4
- data.tar.gz: 6fe78735bfc654bf23d17d682c50daa4de12a79b67155d131c16a04e1c4f4fd0
3
+ metadata.gz: '0496a06290969b72745bde25efef44e56f0701c78dc1c17a88af43e307a4794c'
4
+ data.tar.gz: faa02b9118f0eb49173e75e86185832854b67be55cb66e0c5ffacb07d051e107
5
5
  SHA512:
6
- metadata.gz: 184bc8ed5754a733fdc0709ef72ef0adb71f4877cb170748da1103d43cafb2b9c4e30444cc1d0b2478b5b7b6563e31cb963cedda1086c20d2d45853279378f30
7
- data.tar.gz: 64e8a7979ef75bd7893253e1be250972fb53f5ad370588a422600f6a308a84a579aa77d3f514d8a0003544d502e696fcbfeb3898a5a2806f862b52fe230e762d
6
+ metadata.gz: 34a270e151b8e20a0ceff295a64061355afbe4eabb5bdab8efdea4370ca92f4f534dcf474998497db1b56ef53861fb83a66c3ecb8a9b45bd01bdbd84789fe696
7
+ data.tar.gz: d036e863d9beb28316c38f1743927eba92f5b9900e9a0a8b89d05ec0ef0652f58010cd767c64a2c0c230a3e7f921fdcc0310807a32b885d7f109e474fc491e58
@@ -55,6 +55,7 @@ module Sqlite3
55
55
  additional_cflags = [
56
56
  "-fPIC", # needed for linking the static library into a shared library
57
57
  "-O2", # see https://github.com/sparklemotion/sqlite3-ruby/issues/335 for some benchmarks
58
+ "-fvisibility=hidden", # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
58
59
  ]
59
60
  env["CFLAGS"] = [env["CFLAGS"], additional_cflags].flatten.join(" ")
60
61
  recipe.configure_options += env.select { |k,v| ENV_ALLOWLIST.include?(k) }
@@ -81,14 +82,9 @@ module Sqlite3
81
82
  abort_pkg_config("xpopen") unless $?.success?
82
83
  ldflags = ldflags.split
83
84
 
84
- if needs_darwin_linker_hack
85
- ldflags.delete("-lsqlite3")
86
- ldflags.prepend("-Wl,-flat_namespace", "-Wl,-hidden-lsqlite3")
87
- else
88
- # see https://github.com/flavorjones/mini_portile/issues/118
89
- "-L#{lib_path}".tap do |lib_path_flag|
90
- ldflags.prepend(lib_path_flag) unless ldflags.include?(lib_path_flag)
91
- end
85
+ # see https://github.com/flavorjones/mini_portile/issues/118
86
+ "-L#{lib_path}".tap do |lib_path_flag|
87
+ ldflags.prepend(lib_path_flag) unless ldflags.include?(lib_path_flag)
92
88
  end
93
89
 
94
90
  ldflags.each { |ldflag| append_ldflags(ldflag) }
@@ -100,6 +96,8 @@ module Sqlite3
100
96
  append_cppflags("-DTAINTING_SUPPORT")
101
97
  end
102
98
 
99
+ append_cflags("-fvisibility=hidden") # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
100
+
103
101
  if find_header("sqlite3.h")
104
102
  # noop
105
103
  elsif sqlcipher? && find_header("sqlcipher/sqlite3.h")
@@ -177,13 +175,6 @@ module Sqlite3
177
175
  minimal_recipe.download
178
176
  end
179
177
 
180
- def needs_darwin_linker_hack
181
- # See https://github.com/rake-compiler/rake-compiler-dock/issues/87 for more info.
182
- cross_build? &&
183
- darwin? &&
184
- RbConfig::CONFIG["ruby_version"] >= "3.2"
185
- end
186
-
187
178
  def darwin?
188
179
  RbConfig::CONFIG["target_os"].include?("darwin")
189
180
  end
@@ -127,6 +127,7 @@ void init_sqlite3_constants()
127
127
  #endif
128
128
  }
129
129
 
130
+ RUBY_FUNC_EXPORTED
130
131
  void Init_sqlite3_native()
131
132
  {
132
133
  /*
Binary file
Binary file
@@ -1,12 +1,12 @@
1
1
  module SQLite3
2
2
 
3
- VERSION = "1.6.0.rc1"
3
+ VERSION = "1.6.0.rc2"
4
4
 
5
5
  module VersionProxy
6
6
  MAJOR = 1
7
7
  MINOR = 6
8
8
  TINY = 0
9
- BUILD = "rc1"
9
+ BUILD = "rc2"
10
10
 
11
11
  STRING = [ MAJOR, MINOR, TINY, BUILD ].compact.join( "." )
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqlite3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0.rc1
4
+ version: 1.6.0.rc2
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Jamis Buck
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-01-02 00:00:00.000000000 Z
13
+ date: 2023-01-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: minitest