|
|
||
|
-asko
On Wed, 04 Oct 2006 06:30:16 +0200 Luca <liliana.perossa@fastwebnet.it> wrote:
Thomas Lefort wrote:How can I build the shared libraries from source? System is linux, so I use the make linux.
You'll have to complete src/Makefile. Name the target, add it to the
main list, and add a build rule, like this:
LUA_SO=liblua.so
ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
$(LUA_SO): $(CORE_O) $(LIB_O) $(CC) -o $@ -shared $?
Also in the main Makefile, have the shared library installed along
with the static one:
TO_LIB= liblua.a liblua.so
Good luck !
Thanks, that worked!
Bye, Luca