Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: Fix check for crypt(3) to improve OpenBSD support #956

Merged

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Apr 9, 2022

OpenBSDでmesonを実行するとcrypt(3)でエラーになると報告がありました。
mesonはlibcryptライブラリを探しますがOpenBSDのcrypt関数は実体がlibcにあるためチェック漏れしていたようです。
そのためライブラリが見つからないときは直接crypt関数を探すように修正します。

修正にあたり不具合報告をしていただきありがとうございました。
https://mevius.5ch.net/test/read.cgi/unix/1568040383/740

OpenBSDでmesonを実行すると`crypt(3)`でエラーになると報告がありました。
mesonはlibcryptライブラリを探しますがOpenBSDのcrypt関数[1]は実体が
libcにあるためチェック漏れしていたようです。そのためライブラリが
見つからないときは直接crypt関数を探すように修正します。

修正にあたり不具合報告をしていただきありがとうございました。
https://mevius.5ch.net/test/read.cgi/unix/1568040383/740

[1]: https://man.openbsd.org/crypt.3
@ma8ma ma8ma added bug バグの追跡 build ビルドに関するトピック labels Apr 9, 2022
@ma8ma ma8ma merged commit 00d5ece into JDimproved:master Apr 9, 2022
@ma8ma ma8ma deleted the fix-function-check-for-openbsd-crypt branch April 9, 2022 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug バグの追跡 build ビルドに関するトピック
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant