guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnu: Have lua-5.1 compile a .so


From: Ludovic Courtès
Subject: Re: gnu: Have lua-5.1 compile a .so
Date: Thu, 11 Sep 2014 12:02:49 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]