Don't error-out when run-time libsqlite is older than build-time libsqlite
authorMike Hommey <mh@glandium.org>
Mon, 22 Mar 2010 10:45:42 +0000 (11:45 +0100)
committerMike Hommey <glandium@debian.org>
Tue, 23 Oct 2018 22:08:43 +0000 (23:08 +0100)
In Debian, we have shlibs to handle this.

Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Don-t-error-out-when-run-time-libsqlite-is-older-tha.patch

storage/mozStorageService.cpp

index d4e52ff71173d080a96f90768d03fa3f96b96806..0e1b26dd1e06716793042f574a5e92738f30bd5b 100644 (file)
@@ -197,6 +197,7 @@ Service::getSingleton()
     return do_AddRef(gService);
   }
 
+#if 0
   // Ensure that we are using the same version of SQLite that we compiled with
   // or newer.  Our configure check ensures we are using a new enough version
   // at compile time.
@@ -214,6 +215,7 @@ Service::getSingleton()
     }
     MOZ_CRASH("SQLite Version Error");
   }
+#endif
 
   // The first reference to the storage service must be obtained on the
   // main thread.