[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/5] gnu: Build lua-5.2 with dynamic library support.
From: |
Leo Famulari |
Subject: |
[PATCH 2/5] gnu: Build lua-5.2 with dynamic library support. |
Date: |
Mon, 2 Nov 2015 12:46:41 -0500 |
* gnu/packages/lua.scm (lua-5.2)[arguments]: Rewrite make-flags so that
Lua is built with platform-specific instructions for shared library
loading (dlopen).
---
gnu/packages/lua.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 6bedde3..bbb1b8c 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014 Raimon Grau <address@hidden>
;;; Copyright © 2014 Mark H Weaver <address@hidden>
;;; Copyright © 2014 Andreas Enge <address@hidden>
+;;; Copyright © 2015 Leo Famulari <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -47,7 +48,10 @@
#:test-target "test"
#:phases (alist-replace
'build
- (lambda _ (zero? (system* "make" "CFLAGS=-fPIC" "linux")))
+ (lambda _ (zero? (system* "make"
+ "PLAT=linux"
+ "MYCFLAGS=-fPIC"
+ "MYLDFLAGS=-fPIC")))
(alist-replace
'install
(lambda* (#:key outputs #:allow-other-keys)
--
2.6.1