lua-users home
lua-l archive

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



On 9 Mar 2004 at 12:13, Reuben Thomas wrote:

> +	$(CC) $(MYCFLAGS) -o lib/liblua.so.$V -shared src/*.o
> +	$(CC) $(MYCFLAGS) -o lib/liblualib.so.$V -shared src/lib/*.o -lm -ldl -llua
>  	cd lib; ln -fs liblua.so.$V liblua.so; ln -fs liblualib.so.$V liblualib.so
> 
>  # binaries using shared libraries
> --- cut here ---
> 
> To remind readers, what this does is make the shared libraries be linked
> dynamically against all their dependencies (rather than statically as
> with the original version).

> Since this fix is Linux-specific (the so rule is only intended for Linux)
> it doesn't need testing on other platforms.

shared libraries are also supported on *BSD :))