aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch
blob: 510a8c8407ff57385da476248e3db57355e0ec97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 08b5e51224ed95b1e76e99873b5f9f59840b0a74 Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
Date: Fri, 21 Aug 2015 15:58:42 +0900
Subject: [PATCH] fix bug for cross compile

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>

---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/configure.ac
+++ b/configure.ac
@@ -1317,8 +1317,8 @@ if test "x$with_libedit" != xno; then
 
   saved_CPPFLAGS=$CPPFLAGS
   saved_LDFLAGS=$LDFLAGS
-  CPPFLAGS="${CPPFLAGS} -I$libedit_path/include"
-  LDFLAGS="${LDFLAGS} -L$libedit_path/lib"
+  CPPFLAGS="${CPPFLAGS}"
+  LDFLAGS="${LDFLAGS}"
   AC_CHECK_LIB(curses, tgetent, LIBEDIT_LIBS="-lcurses",
     [AC_CHECK_LIB(ncurses, tgetent, LIBEDIT_LIBS="-lncurses",
       AC_MSG_WARN("libedit needs libcurses or libncurses. disabled...")