[Top][All Lists]

[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 /gnu/store/…-luajit-2.0.3/lib/ && 
ln -sf /gnu/store/…-luajit-2.0.3/lib/ || 

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.")
      '(#:tests? #f                      ;luajit is distributed without tests
        #:phases (alist-delete 'configure %standard-phases)
-       #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs 
+       #:make-flags (list "LDCONFIG=true" (string-append "PREFIX=" (assoc-ref 
%outputs "out")))))
     (home-page "";)
     (synopsis "Just in time compiler for Lua programming language version 5.1")

reply via email to

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