Messages in this thread | | | Date | Thu, 10 Dec 2009 14:04:23 +0200 | Subject | Re: [PATCH] MAINTAINERS: new kbuild maintainer | From | Nir Tzachar <> |
| |
> > On my disto it works but it won't on a distro where /usr/include/ncurses > contains wide version of headers.
ncurses does not support a proper pkg-config scheme, hence the difficulty with finding the correct flags. Regarding the wideness of the library, I would presume that any distro which mismatches /usr/include/ncurses.h and libncurses.so is in itself broken. Taking this into consideration, I think that including /usr/include/ncurses.h and linking against -lncurses should work. We should entirely ignore the wide version of the library, and use the default installation provided.
> >> >> Moreover, currently nconfig does not use this check. > > I was testing on linus git and this flags from this check were used in nconfig > build, too (that's why there were ncurses and ncursesw at the same time in > linking command).
Well, I do not know why, by the check changed the flags for _all_ targets in the scripts/kconfig dir, such that even qconfig got copiled with -lncursesw. Strange. The change I made in the Makefile in the previous mail fixes that.
Cheers, Nir.
| |