lua-users home
lua-l archive

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


2011/11/7 Taj Khattra <taj.khattra@gmail.com>:
>
> try moving -lpthread to the end of the command line
>    cc -shared lanes.o threading.o tools.o keeper.o -lpthread -o lua51-lanes.so
>
> (re: https://wiki.ubuntu.com/OneiricOcelot/ReleaseNotes#GCC_4.6_Toolchain)
>
>

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.

-- 
Benoit.