Reamove readline when compiling Berry

This commit is contained in:
s-hadinger 2025-01-12 18:37:43 +01:00 committed by GitHub
parent 03e8497211
commit d0ef026bb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,8 +21,7 @@ ifeq ($(OS), Windows_NT) # Windows
PYTHON ?= python # only for windows and need python3 PYTHON ?= python # only for windows and need python3
COC := $(PYTHON) $(COC) COC := $(PYTHON) $(COC)
else else
CFLAGS += -DUSE_READLINE_LIB LIBS += -ldl
LIBS += -lreadline -ldl
OS := $(shell uname) OS := $(shell uname)
ifeq ($(OS), Linux) ifeq ($(OS), Linux)
LFLAGS += -Wl,--export-dynamic LFLAGS += -Wl,--export-dynamic