From 1b26a48e8f7bcb7848f26966649a98f5baf0e8da Mon Sep 17 00:00:00 2001 From: Roy Tam Date: Fri, 21 Feb 2020 10:44:48 +0800 Subject: [PATCH] followup of MoonchildProductions/UXP#1457, fix `mach package' --- toolkit/components/sqlite/sqlite_internal.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/toolkit/components/sqlite/sqlite_internal.js b/toolkit/components/sqlite/sqlite_internal.js index 18b07ff50d..1ce9ca7aa8 100644 --- a/toolkit/components/sqlite/sqlite_internal.js +++ b/toolkit/components/sqlite/sqlite_internal.js @@ -20,14 +20,7 @@ var SharedAll = require( "resource://gre/modules/osfile/osfile_shared_allthreads.jsm"); // Open the sqlite3 library. -var path; -if (SharedAll.Constants.Sys.Name === "Android") { - path = ctypes.libraryName("sqlite3"); -} else if (SharedAll.Constants.Win) { - path = ctypes.libraryName("nss3"); -} else { - path = SharedAll.Constants.Path.libxul; -} +var path = ctypes.libraryName("mozsqlite3"); var lib; try {