diff options
| author | Étienne Barrié <etienne.barrie@gmail.com> | 2025-09-23 16:20:18 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-09-24 05:55:26 +0000 |
| commit | 6cd970b428314271e6b8efa746b8c4b6f5f6fcf7 (patch) | |
| tree | 7e77933d08616fb098f2958c76b715104645a4df /include/ruby/internal/core | |
| parent | 5b65e76a7d3aa5d6111fbf2b5bf371bdf478c352 (diff) | |
[ruby/psych] Remove warning by not calling find_library after pkg_config
If pkg_config returns a truthy value, it found the library and added it
to the global values for the Makefile.
Calling `find_library` after a successful `pkg_config` causes -lyaml to
appear twice in the LIBS variable in the resulting Makefile, and causes
ld on macOS to emit a warning:
$ bundle exec rake compile 2>&1 | grep warning
ld: warning: ignoring duplicate libraries: '-lyaml'
https://github.com/ruby/psych/commit/cb5e3d465c
Diffstat (limited to 'include/ruby/internal/core')
0 files changed, 0 insertions, 0 deletions
