Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kconfig/lxdialog: get ncurses CFLAGS with pkg-config and fixed button…
… color Fixed from vanilla kernel commit: be8af2d54a669 This makes "make menuconfig" also work on systems where ncurses is not installed in a standard location (such as on NixOS). This patch changes ldflags() and ccflags() so that it tries pkg-config first, and only if pkg-config fails does it go back to the fallback/manual checks. And, adding -DNCURSES_WIDECHAR=1 CFLAGS to prevent ncurses rendering wrong color on button when changing dialog color by wbkgdset().
- Loading branch information