From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: gnu: Have lua-5.1 compile a .so Date: Thu, 11 Sep 2014 12:02:49 +0200 Message-ID: <87vbouv5iu.fsf@gnu.org> References: <20140910223135.GF31169@luwin.ulrar.net> <87r3ziwpof.fsf@gnu.org> <20140911081259.GH31169@luwin.ulrar.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS1DM-0004yr-Vs for guix-devel@gnu.org; Thu, 11 Sep 2014 06:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS1DH-0004f1-UZ for guix-devel@gnu.org; Thu, 11 Sep 2014 06:02:56 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:38035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS1DH-0004es-OF for guix-devel@gnu.org; Thu, 11 Sep 2014 06:02:51 -0400 In-Reply-To: <20140911081259.GH31169@luwin.ulrar.net> (lemonnierk@ulrar.net's message of "Thu, 11 Sep 2014 10:12:59 +0200") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: lemonnierk@ulrar.net Cc: guix-devel@gnu.org lemonnierk@ulrar.net skribis: > According to someone on stackoverflow, "The lua team does not include sup= port for > shared libraries by default because doing so in a portable manner is not = simple." > http://stackoverflow.com/questions/20848275/compiling-lua-create-so-files Heh, Libtool to the rescue! ;-) > From 81f659884cf02d0d63846b45be5f93d794a9e092 Mon Sep 17 00:00:00 2001 > From: Kevin Lemonnier > Date: Thu, 11 Sep 2014 03:12:39 +0200 > Subject: [PATCH] gnu: Have lua-5.1 compile a .so > > * gnu/packages/patches/lua51-liblua-so.patch: New file > * gnu/packages/lua.scm: Use of lua51-liblua-so.patch in lua-5.1 I=E2=80=99ve applied it, but I realized that liblua.a is now populated with -fPIC object files, which doesn=E2=80=99t make much sense. Perhaps we could remove lib/liblua.a altogether? Thanks, Ludo=E2=80=99.