mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-19 10:20:58 +00:00
dialog: fix the redirection of the error information
Drop the error information, other than redirect them to stdout, otherwise the error information will be included into LIBS/CFLAG Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
48e5c5ef39
commit
01816e4420
@ -21,8 +21,8 @@ index 24e28c1..c78735d 100755
|
|||||||
|
|
||||||
-CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`"
|
-CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`"
|
||||||
-LIBS="`$NCURSES_CONFIG --libs` $LIBS"
|
-LIBS="`$NCURSES_CONFIG --libs` $LIBS"
|
||||||
+CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>&1`"
|
+CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>/dev/null`"
|
||||||
+LIBS="`pkg-config --short-errors --print-errors --libs "ncurses" 2>&1` $LIBS"
|
+LIBS="`pkg-config --short-errors --print-errors --libs "ncurses" 2>/dev/null` $LIBS"
|
||||||
|
|
||||||
# even with config script, some packages use no-override for curses.h
|
# even with config script, some packages use no-override for curses.h
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user