From 5ba3b540d459a60c7edff5074073fb397be81e8a Mon Sep 17 00:00:00 2001 From: Cheng Date: Thu, 21 Nov 2024 09:33:35 +0900 Subject: [PATCH] build: fix GN build for sqlite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/55912 Reviewed-By: Colin Ihrig Reviewed-By: Juan José Arboleda Reviewed-By: Yagiz Nizipli Reviewed-By: Marco Ippolito Reviewed-By: Luigi Pinca --- deps/sqlite/unofficial.gni | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/sqlite/unofficial.gni b/deps/sqlite/unofficial.gni index 6eda916ad23..b26e1335eac 100644 --- a/deps/sqlite/unofficial.gni +++ b/deps/sqlite/unofficial.gni @@ -7,6 +7,10 @@ template("sqlite_gn_build") { config("sqlite_config") { include_dirs = [ "." ] + defines = [ + "SQLITE_ENABLE_SESSION", + "SQLITE_ENABLE_PREUPDATE_HOOK", + ] } gypi_values = exec_script("../../tools/gypi_to_gn.py",