Skip to content

Conversation

etiennebarrie
Copy link
Contributor

pkg_config without the options arguments stores the result in the global values.

Calling pkg_config and have_library causes -lffi 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: '-lffi'

pkg_config without the options arguments stores the result in the global
values.

Calling `pkg_config` and `have_library` causes -lffi 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: '-lffi'
@hsbt hsbt merged commit e3dc030 into ruby:master Sep 29, 2025
68 checks passed
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