Kaydet (Commit) 41e4a607 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

\+ 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
üst 24931841
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment