Bug #93846 Contribution: Use mysql_config for --with-mysql-capi= when using --static
Submitted: 7 Jan 2019 22:46 Modified: 30 Jun 19:46
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
Category:Connector / Python Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[7 Jan 2019 22:46] OCA Admin
This bug tracks a contribution by Daniël van Eeden (Github user: dveeden) as described in http://github.com/mysql/mysql-connector-python/pull/47

How to repeat:
See description

Suggested fix:
See contribution code attached
[7 Jan 2019 22:46] OCA Admin
Contribution submitted via Github - Use mysql_config for --with-mysql-capi= when using --static 
(*) Contribution by Daniël van Eeden (Github dveeden, mysql-connector-python/pull/47#issuecomment-452082888): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_242496736.txt (text/plain), 2.14 KiB.

[8 Jan 2019 5:11] MySQL Verification Team
Hello Daniël,

Thank you for the report and contribution.

[30 Jun 19:46] Philip Olson
Posted by developer:
Fixed as of the upcoming MySQL Connector/Python 8.0.21 release, and here's the proposed changelog entry from the documentation team:

Connector/Python assumed that MySQL libraries were under lib/ when
compiling the C extension, but now uses the mysql_config flags which adds
the correct include and libraries paths. Thanks to Daniël van Eeden for
the patch.

Thank you for the bug report.