diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-09-14 12:57:50 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-09-23 15:47:48 +0200 |
commit | be8af2d54a66911693eddc556e4f7a866670082b (patch) | |
tree | 7e0e5c346f4096c4e924e4ee8d9526a2921793dc /Makefile | |
parent | 7285996aa0006d671bb01f0d35991d254b2b2b01 (diff) | |
download | lwn-be8af2d54a66911693eddc556e4f7a866670082b.tar.gz lwn-be8af2d54a66911693eddc556e4f7a866670082b.zip |
kconfig/lxdialog: get ncurses CFLAGS with pkg-config
This makes "make menuconfig" also work on systems where ncurses is not
installed in a standard location (such as on NixOS).
This patch changes ccflags() so that it tries pkg-config first, and only
if pkg-config fails does it go back to the fallback/manual checks. This
is the same algorithm that ldflags() already uses.
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions