Skip to content

Commit 17b6045

Browse files
committed
Remove --enable-local option
This has been useless since the removal of `recipe.active` and the tweaks of `LDFLAGS` are no longer necessary when using extconf's options.
1 parent 2e4ea48 commit 17b6045

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

ext/sqlite3/extconf.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
# --with-sqlite3-{dir,include,lib}
1010
dir_config("sqlite3")
1111

12-
# prioritize local builds
13-
if enable_config("local", false)
14-
$LDFLAGS = ENV.fetch("LDFLAGS", "")
15-
end
16-
1712
if RbConfig::CONFIG["host_os"] =~ /mswin/
1813
$CFLAGS << ' -W3'
1914
end

tasks/native.rake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ RUBY_EXTENSION = Rake::ExtensionTask.new('sqlite3_native', HOE.spec) do |ext|
3333
# define target for extension (supporting fat binaries)
3434
RUBY_VERSION =~ /(\d+\.\d+)/
3535
ext.lib_dir = "lib/sqlite3/#{$1}"
36-
ext.config_options << "--enable-local"
3736
else
3837

3938
# detect cross-compiler available

0 commit comments

Comments
 (0)