summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-08-12 04:25:40 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-08-12 04:25:40 +0200
commit41e4a607b00f446eeaebf8f59c957a1a580c9517 (patch)
tree893e7b20cd197302ba5aa558981e60e3413ec2f9 /configure.ac
parent24931841534d232b5ebf6af5bee1e54b7cfae738 (diff)
\+ is a GNU sed extension - not available on MacOS X
also support a MySQL/MariaDB client lib link line without any "-L" Change-Id: I1c2bc13f35a33c0f62f0d23d0982d5977aafe2c3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0e88287a7127..504fab5da4e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8278,7 +8278,7 @@ if test "$ENABLE_MARIADBC" = "TRUE"; then
if test "$enable_bundle_mariadb" = "yes"; then
AC_MSG_RESULT([yes])
BUNDLE_MARIADB=TRUE
- LIBMARIADB=lib$(echo "${MARIADB_LIBS}" | sed -e 's/[[[:space:]]]\+-l/\n/g' | grep -E '(mysqlclient|mariadb)')
+ LIBMARIADB=lib$(echo "${MARIADB_LIBS}" | sed -e 's/[[[:space:]]]\{1,\}-l/\n/g' -e 's/^-l/\n/g' | grep -E '(mysqlclient|mariadb)')
if test "$_os" = "Darwin"; then
LIBMARIADB=${LIBMARIADB}.dylib
elif test "$_os" = "WINNT"; then