Skip to content

cmake/readline.cmake: use pkgconf, if available, to look up system libedit#652

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

cmake/readline.cmake: use pkgconf, if available, to look up system libedit#652
juchem wants to merge 1 commit intomysql:trunkfrom
juchem:mj-readline

Conversation

@juchem
Copy link

@juchem juchem commented Mar 10, 2026

When building mysql and its dependencies from source and statically linking to libedit, the latter's dependencies are not linked, resulting in undefined reference link-time issues.

This PR attempts to first look up libedit using pkg-config before manually looking up the library.

@mysql-oca-bot
Copy link

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.

2 participants