Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1package=sqlite2$(package)_version=35004003$(package)_download_path=https://sqlite.org/2025/4$(package)_file_name=sqlite-autoconf-$($(package)_version).tar.gz5$(package)_sha256_hash=a3db587a1b92ee5ddac2f66b3edb41b26f9c867275782d46c3a088977d6a5b186$(package)_patches = autosetup-fixup.patch8define $(package)_set_vars9$(package)_config_env := CC_FOR_BUILD="$$(build_CC)"10$(package)_config_opts = --disable-shared --disable-readline --disable-rtree11$(package)_config_opts += --disable-fts4 --disable-fts512$(package)_config_opts_debug += --debug13$(package)_cppflags += -DSQLITE_DQS=0 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DEPRECATED14$(package)_cppflags += -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_JSON -DSQLITE_LIKE_DOESNT_MATCH_BLOBS15$(package)_cppflags += -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_AUTOINIT16$(package)_cppflags += -DSQLITE_OMIT_LOAD_EXTENSION17endef19define $(package)_preprocess_cmds20patch -p1 < $($(package)_patch_dir)/autosetup-fixup.patch21endef23# Remove --with-pic, which is applied globally to configure24# invocations but is incompatible with Autosetup25define $(package)_config_cmds26$$(filter-out --with-pic,$($(package)_autoconf))27endef29define $(package)_build_cmds30$(MAKE) libsqlite3.a31endef33define $(package)_stage_cmds34$(MAKE) DESTDIR=$($(package)_staging_dir) install-headers install-lib35endef
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.