mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 23:39:20 -04:00
PR: 194434 PR: 194435 Submitted by: Bernard Spil Approved by: maintainer timeout (Ukraine)
14 lines
865 B
Bash
14 lines
865 B
Bash
--- scripts/mysql_config.sh.orig 2014-10-17 21:44:16.000000000 +0200
|
|
+++ scripts/mysql_config.sh 2014-10-17 21:54:16.000000000 +0200
|
|
@@ -109,8 +109,11 @@
|
|
# We intentionally add a space to the beginning and end of lib strings, simplifies replace later
|
|
libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
|
|
libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
|
|
+libs="$libs -L%%LOCALBASE%%/lib "
|
|
libs_r=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqlclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ "
|
|
+libs_r="$libs_r -L%%LOCALBASE%%/lib "
|
|
embedded_libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ "
|
|
+embedded_libs="$embedded_libs -L%%LOCALBASE%%/lib "
|
|
|
|
if [ -r "$pkglibdir/libmygcc.a" ]; then
|
|
# When linking against the static library with a different version of GCC
|