From 67f500c4dbb202bc8b2d5d85f210665d82e613d6 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 22 Jun 2020 17:41:30 +0800 Subject: fix. --- makefile | 2 +- src/lua/makefile | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index 559552b..0c29230 100644 --- a/makefile +++ b/makefile @@ -18,7 +18,7 @@ DCOMPILE_FLAGS = -D DEBUG # Add additional include paths INCLUDES = -I $(SRC_PATH) -I ./src/lua # General linker settings -LINK_FLAGS = -L ./src/lua -lpthread -llua -ldl -lreadline +LINK_FLAGS = -L ./src/lua -lpthread -llua -ldl # Additional release-specific linker settings RLINK_FLAGS = # Additional debug-specific linker settings diff --git a/src/lua/makefile b/src/lua/makefile index 470446f..c4b0064 100644 --- a/src/lua/makefile +++ b/src/lua/makefile @@ -52,8 +52,7 @@ LOCAL = $(CWARNS) # enable Linux goodies -MYCFLAGS= $(LOCAL) -std=c99 -DLUA_USE_READLINE -MYLIBS= -ldl -lreadline +MYCFLAGS= $(LOCAL) -std=c99 UNAME_S:=$(shell uname -s) ifeq ($(UNAME_S),Darwin) @@ -123,7 +122,6 @@ echo: @echo "RM = $(RM)" @echo "MYCFLAGS = $(MYCFLAGS)" @echo "MYLDFLAGS = $(MYLDFLAGS)" - @echo "MYLIBS = $(MYLIBS)" @echo "DL = $(DL)" $(ALL_O): makefile -- cgit v1.2.3-55-g6feb