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/$V -shared src/*.o
> +	$(CC) $(MYCFLAGS) -o lib/$V -shared src/lib/*.o -lm -ldl -llua
>  	cd lib; ln -fs$V; ln -fs$V
>  # 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 :))