[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnu: Have lua-5.1 compile a .so
From: |
lemonnierk |
Subject: |
Re: gnu: Have lua-5.1 compile a .so |
Date: |
Thu, 11 Sep 2014 12:12:21 +0200 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
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ès wrote:
> address@hidden skribis:
>
> > According to someone on stackoverflow, "The lua team does not include
> > support 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 <address@hidden>
> > 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’ve applied it, but I realized that liblua.a is now populated with
> -fPIC object files, which doesn’t make much sense.
>
> Perhaps we could remove lib/liblua.a altogether?
>
> Thanks,
> Ludo’.
--
Kevin Lemonnier
PGP Fingerprint : C123 47CA 9E64 FCF0 3907
signature.asc
Description: Digital signature