Bug #97632 wrong output from mysql_config on mac for -DWITH_SSL=system

Submitted: 14 Nov 2019 9:44 Modified: 25 Nov 2019 19:28
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.7.29 OS:Any
Assigned to: CPU Architecture:Any

[14 Nov 2019 9:44] Tor Didriksen
Description:
./scripts/mysql_config 
Usage: ./scripts/mysql_config [OPTIONS]
Compiler: Clang 10.0.0.10001145
Options:
        --cflags         [-I/usr/local/mysql/include ]
        --cxxflags       [-I/usr/local/mysql/include ]
        --include        [-I/usr/local/mysql/include]
        --libs           [-L/usr/local/mysql/lib -lmysqlclient -limported_openssl -limported_crypto]
        --libs_r         [-L/usr/local/mysql/lib -lmysqlclient -limported_openssl -limported_crypto]

How to repeat:
cmake -DWITH_SSL=system on macOS

Suggested fix:
imported_ssl and imported_crypto are internal cmake names for the static SSL libraries. Do not expose these names externally.
[25 Nov 2019 19:28] Paul DuBois
Posted by developer:
 
Fixed in 5.7.29, 8.0.19.

On macOS, configuring MySQL with -DWITH_SSL=system caused
mysql_config output to incorrectly include internal CMake names for
the static SSL libraries.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.