guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: guile-xapian: Fix compilation with Guile 3.0.7.


From: guix-commits
Subject: 03/03: gnu: guile-xapian: Fix compilation with Guile 3.0.7.
Date: Tue, 28 Sep 2021 18:16:41 -0400 (EDT)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit acbce4ea41965dd94e108edbc0e06a0e644fd117
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Sep 28 23:57:33 2021 +0200

    gnu: guile-xapian: Fix compilation with Guile 3.0.7.
    
    * gnu/packages/guile-xyz.scm (guile-xapian)[source]: Add 'modules' and
    'snippet'.
---
 gnu/packages/guile-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index b41dce8..cf7e784 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4028,7 +4028,14 @@ over, or update a value in arbitrary data structures.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "16k61f1jn3g48jaf3730b9l0izr5j933jzyri73nmcnjd09gm35i"))))
+         "16k61f1jn3g48jaf3730b9l0izr5j933jzyri73nmcnjd09gm35i"))
+       (modules '((guix build utils)))
+       (snippet
+        ;; Guile >= 3.0.7 no longer uses libltdl so we need to explicitly add
+        ;; ".libs" so that 'load-extension' finds the '.so' file.
+        '(substitute* "pre-inst-env.in"
+           (("^LD_LIBRARY_PATH=.*$")
+            "LD_LIBRARY_PATH=\"$abs_top_builddir/.libs\"\n")))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]