Bug 133 - Modify ncurses5-config to get correct include path
Summary: Modify ncurses5-config to get correct include path
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 09:24 UTC by Henry Margies
Modified: 2009-03-01 22:36 UTC (History)
2 users (show)

See Also:
Host: PC SuSe 11.1
Target: ARM
Build:


Attachments
Patch for ncurses (625 bytes, patch)
2009-02-27 09:24 UTC, Henry Margies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Margies 2009-02-27 09:24:07 UTC
Created attachment 77 [details]
Patch for ncurses

Some tools (e.g. alsamixer) are using ncurses5-config --cflags --libs to get the include and library path needed for ncurses. With ncurses6 installed on your host system, ncurses5-config --cflags returns -I/usr/include/ncurses which will break your build.

This patch will modify the prefix setting to point to the staging dir.

Let me know what you think.

Best regards,

Henry
Comment 1 Peter Korsgaard 2009-03-01 22:36:25 UTC
Thanks, (a slightly cleaned up version) committed as r25475.