From 4ac1d379b671a6b96eee72207ae009b43293f460 Mon Sep 17 00:00:00 2001
From: John Crispin <blogic@openwrt.org>
Date: Thu, 26 Mar 2015 10:58:52 +0000
Subject: lua: fix eglibc reference

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45013 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/utils/lua/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'package/utils/lua/Makefile')

diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
index e40188ed9e..72d56316b4 100644
--- a/package/utils/lua/Makefile
+++ b/package/utils/lua/Makefile
@@ -93,7 +93,7 @@ endef
 
 TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
 
-ifneq ($(CONFIG_USE_EGLIBC),)
+ifneq ($(CONFIG_USE_GLIBC),)
   ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
     TARGET_CFLAGS += -DNO_GETLOGIN
   endif
-- 
cgit v1.2.3