aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch
blob: 0c8f02d6ce6bebd3b9c0d63a1bf269621eafab2c (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
25
26
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(-)

diff --git a/configure.ac b/configure.ac
index 9be879c..9249bfd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1208,8 +1208,8 @@ AC_HELP_STRING([--with-libedit[=DIR], Enable libedit support
 if test "x$use_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...")