Skip to content

cmake/icu.cmake: use pkgconf, if available, to look up system libicu#651

Open
juchem wants to merge 1 commit intomysql:trunkfrom
juchem:mj-icu
Open

cmake/icu.cmake: use pkgconf, if available, to look up system libicu#651
juchem wants to merge 1 commit intomysql:trunkfrom
juchem:mj-icu

Conversation

@juchem
Copy link
Copy Markdown

@juchem juchem commented Mar 10, 2026

When building mysql and its dependencies from source and statically linking to icu, the latter's link order (manually specified) is wrong and results in undefined reference link-time issues.

This PR attempts to first look up icu using pkg-config before manually specifying its libraries and link order.

@mysql-oca-bot
Copy link
Copy Markdown

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at https://oca.opensource.oracle.com/
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants