mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: guile-xapian: Fix compilation with Guile 3.0.7.
* gnu/packages/guile-xyz.scm (guile-xapian)[source]: Add 'modules' and 'snippet'.
This commit is contained in:
parent
106181c0a0
commit
acbce4ea41
1 changed files with 8 additions and 1 deletions
|
@ -4028,7 +4028,14 @@ (define-public guile-xapian
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue