Files
meta-openembedded/meta-oe/recipes-devtools/lua/lua/uclibc-pthread.patch
T
Kang Kai d2ec4eef07 lua: add lua 5.2 recipe
Add lua 5.2.2 recipe.

Update:
  * remove bitwise_operators.patch that lua uses bit32 library to
    support for bitwise operations.
  * update uclibc-pthread.patch

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-12-21 19:16:51 +01:00

14 lines
497 B
Diff

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