lua-users home
lua-l archive

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


>When building after changing a single file, make fails because gcc -shared
>is being used as AR and the $? is incorrect when used that way. Only mingw
>seems to be built this way.

Is that a problem in the definition of AR in the mingw target or in
the rules to build the Lua library ?

The relevant target is this and it seems right if AR is actually a
library manager such as ar:

$(LUA_A): $(CORE_O) $(LIB_O)
	$(AR) $@ $?
	$(RANLIB) $@

BTW, this part of src/Makefile is identical in 5.1 and 5.2...