From f48e289580e1974a718ef1433fafd046db7578df 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 6eda916ad23e07..b26e1335eac339 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",