aports/main/lua-crypto/lua5.1-blank-LUA_CFLAGS-fails-configure.patch
Tuan M. Hoang b00e3ee5a8 main/lua-crypto: fix bug
lua5.1 LUA_CFLAGS is blank thus fails configure script
2017-03-17 12:41:33 +00:00

22 lines
539 B
Diff

---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index eb01472..970eb8d 100755
--- a/configure
+++ b/configure
@@ -12331,6 +12331,8 @@ $as_echo_n "checking for LUA... " >&6; }
if test -n "$LUA_CFLAGS"; then
pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
+ elif test -n "$LUA_LIBS"; then
+ pkg_cv_LUA_LIBS="$LUA_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua\""; } >&5
--
2.11.1