lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


30.05.2019, 18:32, "phlnc8" <phlnc8@gmail.com>:
> Regarding the linux target, I still have to add '-lncurses' to SYSLIBS
> in the src makefile.
>
> I understand it is a distribution issue
> (Slackware 14.2 here),

:D

> but I was wondering how many other distros have the same issue.
> Adding '-lncurses' would help for these distros and wouldn't hurt
> for other/more mainstream distros (ncurses is certainly available
> wherever readline is)
>
> This is not a big deal. I am used to patch the src makefile for all
> releases since Lua 5.2 (IIRC)

i would suggest to use 2 different linux targets:
linux and linux-readline where only the latter should link against
the ncurses lib.
(btw: does readline always use ncurses or can it be linked against
other curses libs ?)