lemonni...@ulrar.net 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 <lemonni...@ulrar.net> > 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’.