lua-users home
lua-l archive

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


>   - Could we add a shared library target to the Makefile? I think this
> is a reasonable patch:
>     https://git.archlinux.org/svntogit/packages.git/tree/trunk/liblua.so.patch?h=packages/lua

This patch is for Linux only, right? In this case, it may need to
recompile the sources with -fPIC.
The recipe for shared libraries for macOS is different: it uses
"-bundle -undefined dynamic_lookup" instead of "-shared" and doesn't
need  -fPIC.