From d57d7e7401e0201e9b2743cc579945a0f6adbafb Mon Sep 17 00:00:00 2001 From: rtldg <55846624+rtldg@users.noreply.github.com> Date: Sun, 29 Jan 2023 17:30:15 +0000 Subject: [PATCH] Enable math functions in sqlite (#1886) --- extensions/sqlite/AMBuilder | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/sqlite/AMBuilder b/extensions/sqlite/AMBuilder index 9d838cfea..b6f544f58 100644 --- a/extensions/sqlite/AMBuilder +++ b/extensions/sqlite/AMBuilder @@ -16,6 +16,7 @@ for cxx in builder.targets: 'SQLITE_THREADSAFE', 'SQLITE_USE_URI', 'SQLITE_ALLOW_URI_AUTHORITY', + 'SQLITE_ENABLE_MATH_FUNCTIONS', ] if binary.compiler.target.platform == 'linux': binary.compiler.postlink += ['-ldl', '-lpthread']