[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gnu: luajit: don't require ldconfig
From: |
Tomáš Čech |
Subject: |
[PATCH] gnu: luajit: don't require ldconfig |
Date: |
Sun, 1 Feb 2015 15:43:37 +0100 |
* gnu/packages/lua.scm (luajit)[arguments]: Add "LDCONFIG=true" to make
command line
Install phase of luajit contains:
ldconfig /gnu/store/…-luajit-2.0.3/lib && \
ln -sf libluajit-5.1.so.2.0.3 /gnu/store/…-luajit-2.0.3/lib/libluajit-5.1.so &&
\
ln -sf libluajit-5.1.so.2.0.3 /gnu/store/…-luajit-2.0.3/lib/libluajit-5.1.so ||
:
When ldconfig is missing, symlinks are not created but whole expression
returns no error. This cause linker not to find proper library when building
package against luajit and libluajit-5.1.a is used instead. With
'LDCONFIG=true' it ommits the problem.
---
gnu/packages/lua.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index eda69f9..54f6a44 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -92,7 +92,7 @@ for configuration, scripting, and rapid prototyping.")
(arguments
'(#:tests? #f ;luajit is distributed without tests
#:phases (alist-delete 'configure %standard-phases)
- #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs
"out")))))
+ #:make-flags (list "LDCONFIG=true" (string-append "PREFIX=" (assoc-ref
%outputs "out")))))
(home-page "http://www.luajit.org/")
(synopsis "Just in time compiler for Lua programming language version 5.1")
(description
--
2.0.5
- [PATCH] gnu: luajit: don't require ldconfig,
Tomáš Čech <=