Ticket #1335: 0001-Pass-D-options-through.patch

File 0001-Pass-D-options-through.patch, 1.1 KB (added by Vasilij Schneidermann, 4 months ago)
  • sqlite3/3.7.2/sqlite3.egg

    From e136fc0538c3c9ce24c5acf27acc96654efdfd31 Mon Sep 17 00:00:00 2001
    From: Vasilij Schneidermann <mail@vasilij.de>
    Date: Tue, 10 Aug 2021 08:48:04 +0200
    Subject: [PATCH] Pass -D options through
    
    ---
     sqlite3/3.7.2/sqlite3.egg | 9 +++++++++
     1 file changed, 9 insertions(+)
    
    diff --git a/sqlite3/3.7.2/sqlite3.egg b/sqlite3/3.7.2/sqlite3.egg
    index 5b4cddc..bc0c93c 100644
    a b  
    44 (license "BSD")
    55 (version "3.7.2")
    66 (dependencies
     7   (chicken "5.1.0")
    78   srfi-1 srfi-13 srfi-18 srfi-69 object-evict
    89   check-errors synch miscmacros matchable sql-null)
    910 (test-dependencies test)
    1011 (components
    1112   (extension sqlite3
     13     (cond-expand ; requires 5.1.0
     14      (disable-shared-cache
     15       (csc-options "-D" "disable-shared-cache"))
     16      (else))
     17     (cond-expand ; requires 5.1.0
     18      (disable-load-extension
     19       (csc-options "-D" "disable-load-extension"))
     20      (else))
    1221     (link-options "-L" "-lsqlite3"))
    1322     (data documentation (files "sqlite3.html" "egg.jpg"))))
    1423