diff --git a/interpreters/luamodules/luasyslog/CMakeLists.txt b/interpreters/luamodules/luasyslog/CMakeLists.txt index 6f1fc2e1186..2046953cc4c 100644 --- a/interpreters/luamodules/luasyslog/CMakeLists.txt +++ b/interpreters/luamodules/luasyslog/CMakeLists.txt @@ -44,20 +44,6 @@ if(CONFIG_LUA_LSYSLOG_MODULE) endif() endif() - # ############################################################################ - # Flags - # ############################################################################ - set(LUA_SYSTEM_READLINE_DEF - [=[ -#define openlog(a,b,c) {(void)a; (void)c;} -#define closelog() {} -]=]) - - file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/def_lua_readline.h - "${LUA_SYSTEM_READLINE_DEF}") - list(APPEND CFLAGS - "SHELL:-include ${CMAKE_CURRENT_BINARY_DIR}/def_lua_readline.h") - # ############################################################################ # Sources # ############################################################################ diff --git a/interpreters/luamodules/luasyslog/Makefile b/interpreters/luamodules/luasyslog/Makefile index 2421472f81d..1d53eccb450 100644 --- a/interpreters/luamodules/luasyslog/Makefile +++ b/interpreters/luamodules/luasyslog/Makefile @@ -32,9 +32,6 @@ LSYSLOG_SRC = $(LSYSLOG_UNPACK) VPATH += $(LSYSLOG_SRC) CSRCS = lsyslog.c -CFLAGS += -D'openlog(a,b,c)={(void)a; (void)c;}' -CFLAGS += -D'closelog()={}' - $(LSYSLOG_TARBALL): $(Q) echo "Downloading $(LSYSLOG_TARBALL) from $(LSYSLOG_URL)" $(Q) curl -O -L $(LSYSLOG_URL)