Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
-
None
-
None
-
Gentoo Linux
Description
mariadb_config is providing bad output.
Expected results:
grknight@tetsusaiga ~ $ /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config
|
Copyright 2011 Monty Program AB
|
Get compiler flags for using the MariaDB client library.
|
Usage: /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config [OPTIONS]
|
--cflags [-I/usr/include/mariadb -O2 -pipe -march=native -Wunused -Wno-uninitialized]
|
--include [-I/usr/include/mariadb]
|
--libs [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -lz]
|
--libs_r [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -lz]
|
--version [5.5.0]
|
--socket [/var/run/mysqld/mysqld.sock]
|
--port [3306]
|
Actual Results:
grknight@tetsusaiga ~ $ /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config
|
Copyright 2011 Monty Program AB
|
Get compiler flags for using the MariaDB client library.
|
Usage: /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config [OPTIONS]
|
--cflags [-I/usr/include/mariadb-O2 -pipe -march=native -Wunused -Wno-uninitialized]
|
--include [-I/usr/include/mariadb]
|
--libs [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -l-lz]
|
--libs_r [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -l-lz]
|
--version [5.5.0]
|
--socket [/var/run/mysqld/mysqld.sock]
|
--port [3306]
|
The attached patch will solve the issue