lua-users home
lua-l archive

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


Hi everyone,

It seems many linux distros have been changing how they handle .so
files such that *all* .so files have to be compiled with -fPIC.  I
currently have this in my /etc/luarocks/config.lua :

variables.CFLAGS="-O2 -fPIC"

Which seems to work, but sometimes people have their own Makefile which doesn't.

I believe people need to add -fPIC to all .so builds on Linux, and
maybe other platforms from now on.

Thanks,

Zed