diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-09-23 08:52:08 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-09-26 05:41:54 +0200 |
commit | 01816e442076afa820cbccbfd67a7b3fa382199d (patch) | |
tree | 8abddcbf2979599c7cd059b1cf3c69cf5503f2d7 /meta-oe/recipes-extended | |
parent | 48e5c5ef39d70c3b00f755d09811f497e6d23f53 (diff) | |
download | meta-openembedded-01816e442076afa820cbccbfd67a7b3fa382199d.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch b/meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch index b5b4b3c3c..a2354ade0 100644 --- a/meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch +++ b/meta-oe/recipes-extended/dialog/files/use-pkg-config-for-ncurses-detection.patch | |||
@@ -21,8 +21,8 @@ index 24e28c1..c78735d 100755 | |||
21 | 21 | ||
22 | -CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`" | 22 | -CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`" |
23 | -LIBS="`$NCURSES_CONFIG --libs` $LIBS" | 23 | -LIBS="`$NCURSES_CONFIG --libs` $LIBS" |
24 | +CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>&1`" | 24 | +CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>/dev/null`" |
25 | +LIBS="`pkg-config --short-errors --print-errors --libs "ncurses" 2>&1` $LIBS" | 25 | +LIBS="`pkg-config --short-errors --print-errors --libs "ncurses" 2>/dev/null` $LIBS" |
26 | 26 | ||
27 | # even with config script, some packages use no-override for curses.h | 27 | # even with config script, some packages use no-override for curses.h |
28 | 28 | ||