From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 1/7] gnu: lua: Build with support for dynamic libraries. Date: Mon, 22 Aug 2016 21:39:12 +0200 Message-ID: <20160822193918.27397-2-rekado@elephly.net> References: <20160822193918.27397-1-rekado@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbv4O-00085h-E1 for guix-devel@gnu.org; Mon, 22 Aug 2016 15:39:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbv4F-0008Db-Jn for guix-devel@gnu.org; Mon, 22 Aug 2016 15:39:39 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:24888) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbv4F-0008DW-Bo for guix-devel@gnu.org; Mon, 22 Aug 2016 15:39:31 -0400 In-Reply-To: <20160822193918.27397-1-rekado@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/lua.scm (lua)[arguments]: Use regular build phase and add make-flags. --- gnu/packages/lua.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index b4b5dee..52606f4 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2014 Mark H Weaver ;;; Copyright © 2014 Andreas Enge ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -44,14 +45,15 @@ (inputs `(("readline" ,readline))) (arguments '(#:modules ((guix build gnu-build-system) - (guix build utils) - (srfi srfi-1)) + (guix build utils) + (srfi srfi-1)) #:test-target "test" + #:make-flags + '("CFLAGS=-fPIC -DLUA_DL_DLOPEN -DLUA_USE_POSIX" + "linux") #:phases (modify-phases %standard-phases (delete 'configure) - (replace 'build - (lambda _ (zero? (system* "make" "CFLAGS=-fPIC" "linux")))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- 2.9.2