lua-users home
lua-l archive

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

2011/11/7 Taj Khattra <>:
> try moving -lpthread to the end of the command line
>    cc -shared lanes.o threading.o tools.o keeper.o -lpthread -o
> (re:

MinGW compilation remains happy if I change the makefile as follows:

lua51-$(MODULE)$(_SO): $(OBJ)
-	$(CC) $(LIBFLAG) $(LIBS) $^ $(LUA_LIBS) -o $@
+	$(CC) $(LIBFLAG) $^ $(LIBS) $(LUA_LIBS) -o $@

Tell me if Ubuntu 11.10 is happy with this change too, so that I can commit it.