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.