From: "Tomáš Čech" <sleep_walker@suse.cz>
To: guix-devel@gnu.org
Cc: enlightenment-devel@lists.sourceforge.net
Subject: [PATCH] gnu: luajit: don't require ldconfig
Date: Sun, 1 Feb 2015 15:43:37 +0100 [thread overview]
Message-ID: <1422801817-20547-1-git-send-email-sleep_walker@suse.cz> (raw)
In-Reply-To: <87wq46tzoa.wl%tcech@suse.cz>
* 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
next prev parent reply other threads:[~2015-02-01 14:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 22:52 [PATCH] gnu: luajit: Add -fPIC into CFLAGS Tomáš Čech
2014-12-16 17:08 ` Ludovic Courtès
2014-12-16 19:28 ` Tomas Cech
2014-12-16 21:08 ` Ludovic Courtès
2014-12-16 21:42 ` Tomas Cech
2014-12-16 22:15 ` Ludovic Courtès
2014-12-27 12:08 ` Tomas Cech
2015-01-07 20:14 ` Ludovic Courtès
2015-01-28 20:31 ` Tomas Cech
2015-02-01 14:43 ` Tomáš Čech [this message]
2015-02-01 19:07 ` [PATCH] gnu: luajit: don't require ldconfig Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1422801817-20547-1-git-send-email-sleep_walker@suse.cz \
--to=sleep_walker@suse.cz \
--cc=enlightenment-devel@lists.sourceforge.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.