1From 3af12d8d0f749751e487955c24260049e7a8eec6 Mon Sep 17 00:00:00 2001
2From: Kamel Bouhara <kamel.bouhara@bootlin.com>
3Date: Wed, 13 May 2020 16:58:22 +0200
4Subject: [PATCH] fix syntax issue while checking ldflags
5
6Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
7---
8 configure | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/configure b/configure
12index def5883..2d783f6 100755
13--- a/configure
14+++ b/configure
15@@ -17574,7 +17574,7 @@ libmysqlclient_paths="none /usr/lib/mysql /usr/lib64/mysql"
16
17 for path in $libmysqlclient_paths; do
18
19-if test x"path" != xnone; then
20+if test x"$path" != xnone; then
21   save_LDFLAGS="$LDFLAGS"
22   LDFLAGS="$LDFLAGS -L$path"
23 fi
24@@ -17753,7 +17753,7 @@ if test x"$libmysqlclient_found" = xyes; then
25   break;
26 fi
27
28-if test x"path" != xnone; then
29+if test x"$path" != xnone; then
30   LDFLAGS="$save_LDFLAGS"
31 fi
32
33--
342.26.2
35
36