blob: f4cdc5d8c5c25b0c502071395b11f2c1aa5b89c6 [file] [log] [blame]
Index: lua-5.1.4/src/Makefile
===================================================================
--- a/src/Makefile.orig 2013-10-22 22:17:19.929103523 -0400
+++ a/src/Makefile 2013-10-22 22:18:27.992104545 -0400
@@ -9,7 +9,7 @@
CC= gcc
CFLAGS= -O2 -Wall -DLUA_COMPAT_ALL $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
-LIBS= -lm $(SYSLIBS) $(MYLIBS)
+LIBS= -lm -lpthread $(SYSLIBS) $(MYLIBS)
AR= ar rcu
RANLIB= ranlib