mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
8abdf1db65
On other OSes, like NetBSD, these are part of libc. Fortunately, the Lua Makefile already knows about this, and has a SYSLIBS variable we can use for this.
5 lines
181 B
Makefile
5 lines
181 B
Makefile
$(LUA_SO): $(CORE_O) $(LIB_O)
|
|
$(CC) -shared $(SYSLIBS) -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? $(MYLDFLAGS)
|
|
ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
|
ln -sf $(LUA_SO).$(R) $(LUA_SO)
|