lua: Fix patch to not loose SYSCFLAGS
Not having SYSCFLAGS caused LUA_USE_LINUX to be lost, and io.popen (and probably other things) was not enabled. Fixes #552.
This commit is contained in:
parent
6257a921f7
commit
0afc826fc0
@ -1,7 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://www.lua.org/
|
||||
TERMUX_PKG_DESCRIPTION="Powerful, fast, lightweight, embeddable scripting language"
|
||||
TERMUX_PKG_VERSION=5.3.3
|
||||
TERMUX_PKG_BUILD_REVISION=2
|
||||
TERMUX_PKG_BUILD_REVISION=3
|
||||
TERMUX_PKG_SRCURL=http://www.lua.org/ftp/lua-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_DEPENDS="readline"
|
||||
TERMUX_PKG_EXTRA_MAKE_ARGS=linux
|
||||
|
@ -1,12 +1,13 @@
|
||||
diff -u -r ../lua-5.3.0/src/Makefile ./src/Makefile
|
||||
--- ../lua-5.3.0/src/Makefile 2015-01-05 11:04:52.000000000 -0500
|
||||
+++ ./src/Makefile 2015-05-24 18:06:15.958404755 -0400
|
||||
@@ -6,13 +6,7 @@
|
||||
@@ -6,13 +6,8 @@
|
||||
# Your platform. See PLATS for possible values.
|
||||
PLAT= none
|
||||
|
||||
-CC= gcc -std=gnu99
|
||||
-CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
|
||||
+CFLAGS+= $(SYSCFLAGS)
|
||||
-LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
|
||||
LIBS= -lm $(SYSLIBS) $(MYLIBS)
|
||||
-
|
||||
|
Loading…
Reference in New Issue
Block a user