diff options
Diffstat (limited to 'meta-oe/recipes-devtools/musl/musl-nscd/0001-configure-Check-for-flex-if-lex-is-not-found.patch')
| -rw-r--r-- | meta-oe/recipes-devtools/musl/musl-nscd/0001-configure-Check-for-flex-if-lex-is-not-found.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/musl/musl-nscd/0001-configure-Check-for-flex-if-lex-is-not-found.patch b/meta-oe/recipes-devtools/musl/musl-nscd/0001-configure-Check-for-flex-if-lex-is-not-found.patch new file mode 100644 index 0000000000..691aa3d2ac --- /dev/null +++ b/meta-oe/recipes-devtools/musl/musl-nscd/0001-configure-Check-for-flex-if-lex-is-not-found.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 4d09032741475c4e9d3de62c8187597f3f72f934 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 22 Nov 2020 12:32:01 -0800 | ||
| 4 | Subject: [PATCH] configure: Check for flex if lex is not found | ||
| 5 | |||
| 6 | lex is already checked by this time, therefore check should be to find | ||
| 7 | flex | ||
| 8 | Upstream-Status: Submitted [https://github.com/pikhq/musl-nscd/pull/12] | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | configure | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/configure b/configure | ||
| 15 | index 256824a..4c94568 100755 | ||
| 16 | --- a/configure | ||
| 17 | +++ b/configure | ||
| 18 | @@ -249,7 +249,7 @@ printf "checking for lex... " | ||
| 19 | trylex ${CROSS_COMPILE}lex | ||
| 20 | trylex lex | ||
| 21 | trylex ${CROSS_COMPILE}flex | ||
| 22 | -trylex lex | ||
| 23 | +trylex flex | ||
| 24 | printf "%s\n" "$LEX" | ||
| 25 | test -n "$LEX" || echo "$0: cannot find lex. Will try to use pre-provided source." | ||
| 26 | |||
| 27 | -- | ||
| 28 | 2.29.2 | ||
| 29 | |||
