mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
665732d877
This fixes a couple of problems: * Lua 5.1 doesn't have SYSLIBS, so wasn't being linked with any libraries. * SYSLIBS doesn't include -lm, so we had to add that manually to pkgconfig. LIBS includes -lm, so we don't need that hack any more.
5 lines
178 B
Makefile
5 lines
178 B
Makefile
$(LUA_SO): $(CORE_O) $(LIB_O)
|
|
$(CC) -shared $(LIBS) -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? $(MYLDFLAGS)
|
|
ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
|
ln -sf $(LUA_SO).$(R) $(LUA_SO)
|