From mboxrd@z Thu Jan 1 00:00:00 1970 From: lemonnierk@ulrar.net Subject: Re: gnu: Have lua-5.1 compile a .so Date: Thu, 11 Sep 2014 12:12:21 +0200 Message-ID: <20140911101221.GI31169@luwin.ulrar.net> References: <20140910223135.GF31169@luwin.ulrar.net> <87r3ziwpof.fsf@gnu.org> <20140911081259.GH31169@luwin.ulrar.net> <87vbouv5iu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7SrMUQONj8Rl9QNG" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XS1Mb-0002uC-EY for guix-devel@gnu.org; Thu, 11 Sep 2014 06:12:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XS1MW-0007RE-Ni for guix-devel@gnu.org; Thu, 11 Sep 2014 06:12:29 -0400 Content-Disposition: inline In-Reply-To: <87vbouv5iu.fsf@gnu.org> 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: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org --7SrMUQONj8Rl9QNG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Didn't think of that, indeed. I know I'm not using the .a, don't know about= others though. On Thu, Sep 11, 2014 at 12:02:49PM +0200, Ludovic Court=C3=A8s wrote: > lemonnierk@ulrar.net skribis: >=20 > > According to someone on stackoverflow, "The lua team does not include s= upport for > > shared libraries by default because doing so in a portable manner is no= t simple." > > http://stackoverflow.com/questions/20848275/compiling-lua-create-so-fil= es >=20 > Heh, Libtool to the rescue! ;-) >=20 > > 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 >=20 > I=E2=80=99ve applied it, but I realized that liblua.a is now populated wi= th > -fPIC object files, which doesn=E2=80=99t make much sense. >=20 > Perhaps we could remove lib/liblua.a altogether? >=20 > Thanks, > Ludo=E2=80=99. --=20 Kevin Lemonnier PGP Fingerprint : C123 47CA 9E64 FCF0 3907 --7SrMUQONj8Rl9QNG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUEXWFAAoJEEfKnmT88DkHobQP/0vQcUFL+WLznCgqmScZdGzi 5DzF+gPFkN7DrNJmccbya0RJN7uQfQbmWNchqWc8ZrzA7lqLGYThWh6dPeJbQBpL s+bEPIveN9Es8K7D8XdpAaqDUxrF5Hnub3+IUaEXO9uB7zteS+vNntYn45T7KOlm DVN3zeLKjlMowzv36MNxB5VgZ024PUotICanFKoq8PSTyXKW7ygeJIR3H+t33sDO Ny1RoMs/eUASMK4ZrLMI8usdkEyg5/5Db57MmoIL7IXsfscRw6zdH6U1h/RC8Dyo HA6/Whd9DinlDc9oH4Xth4KoxMWDfvN24TwmIa9Zg+M/Y4BBawnOB9bVP2h6LoHL u+v1A7+ANZqGiSIoJPfT8Ek5VnqTSh6kV5M3Kvzk99qPh2zxs5jTYQKiklC8yS7/ VNSlIKS0LU590kQnOWZ98x765wn+g6ok4LTXQ7CnCIWjIzny7fyFsw8r9/46F0t0 V6XGm9JVUotQqeRW1TtuRj0W2c1bqVHxsiU5EoZOC80CfNffMgWM3igV33DfODzY nn1/FY1Kh9mX7GgSLBk3jrMOI9kC+EC7Rk2q8GY/vH6umh5WBvPvwGc9iy+x2Erg wrsyvS5NrzrNUXoIjSfUJFtRObMh7kt0ZYATfM2a7RJ4lCHxuxhPlymv6b2XgS1u L0PSHcmN8MpGtwGBgoZH =uMhz -----END PGP SIGNATURE----- --7SrMUQONj8Rl9QNG--