depot/third_party/nixpkgs/pkgs/development/perl-modules/DBD-SQLite/external-sqlite.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

11 lines
446 B
Diff

--- a/Makefile.PL 2016-04-21 15:44:34.000000000 +0200
+++ b/Makefile.PL 2017-10-31 11:04:28.389959946 +0100
@@ -129,7 +129,7 @@
# a system sqlite is also sophisticated enough to have a patching system
# that can change the if ( 0 ) to if ( 1 )
my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
-if ( 0 ) {
+if ( 1 ) {
require File::Spec;
if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
$sqlite_base =~ /=(.*)/;