in replacement is *also* a GNU sed extension - not available on MacOS X
Change-Id: Ic4efe84ba6e6d0e36b520957bc56d24e14161966
This commit is contained in:
parent
b59931d8a6
commit
382ad73866
1 changed files with 5 additions and 1 deletions
|
@ -8278,7 +8278,11 @@ 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:]]]\{1,\}-l/\n/g' -e 's/^-l/\n/g' | grep -E '(mysqlclient|mariadb)')
|
||||
LIBMARIADB=lib$(echo "${MARIADB_LIBS}" | sed -e 's/[[[:space:]]]\{1,\}-l\([[^[:space:]]]\{1,\}\)/\
|
||||
\1\
|
||||
/g' -e 's/^-l\([[^[:space:]]]\{1,\}\)[[[:space:]]]*/\
|
||||
\1\
|
||||
/g' | grep -E '(mysqlclient|mariadb)')
|
||||
if test "$_os" = "Darwin"; then
|
||||
LIBMARIADB=${LIBMARIADB}.dylib
|
||||
elif test "$_os" = "WINNT"; then
|
||||
|
|
Loading…
Reference in a new issue