[oe-commits] Roy Li : dialog: fix the redirection of the error information
git at git.openembedded.org
git at git.openembedded.org
Tue Sep 23 17:01:30 UTC 2014
Module: meta-openembedded.git
Branch: master-next
Commit: dc809b8d9cc4f9a8f3a8189dc0f97b9a61a0f27b
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=dc809b8d9cc4f9a8f3a8189dc0f97b9a61a0f27b
Author: Roy Li <rongqing.li at windriver.com>
Date: Tue Sep 23 08:52:08 2014 +0800
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 at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../dialog/files/use-pkg-config-for-ncurses-detection.patch | 4 ++--
1 file 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 b5b4b3c..a2354ad 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
-CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`"
-LIBS="`$NCURSES_CONFIG --libs` $LIBS"
-+CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>&1`"
-+LIBS="`pkg-config --short-errors --print-errors --libs "ncurses" 2>&1` $LIBS"
++CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>/dev/null`"
++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
More information about the Openembedded-commits
mailing list