Skip to content

Configure AR and STRIP tools for meson#1302

Open
mering wants to merge 3 commits intobazel-contrib:mainfrom
mering:meson-tools
Open

Configure AR and STRIP tools for meson#1302
mering wants to merge 3 commits intobazel-contrib:mainfrom
mering:meson-tools

Conversation

@mering
Copy link
Contributor

@mering mering commented Oct 16, 2024

This is required to fix libdav1d in #1295.

Closes #1447

@mering mering mentioned this pull request Oct 16, 2024
@mering mering force-pushed the meson-tools branch 5 times, most recently from 4163e1d to 95a7883 Compare October 16, 2024 20:41
@jsharpe
Copy link
Member

jsharpe commented Jan 2, 2025

This doesn't work on macOS from the look of things - commonly libraries don't build with AR=libtool on macos so that is probably the issue. Not sure what the correct fix is though

If an AR var is not exported, meson will use static linker from the host
@mering
Copy link
Contributor Author

mering commented Dec 24, 2025

@jsharpe I cherry-picked the fix for macOS from #1447 and the CI is happy now. Can you please take another look?

@mering
Copy link
Contributor Author

mering commented Feb 14, 2026

@fmeum could you maybe PTAL? Thanks!

Copy link
Member

@fmeum fmeum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but it's been years since I last dealt with rules_foreign_cc. I would prefer one of the maintainers to approve and merge.

@mering
Copy link
Contributor Author

mering commented Feb 14, 2026

@cerisier could you maybe take a look?

@matt-sm
Copy link
Contributor

matt-sm commented Feb 23, 2026

@cerisier I am also keen to stop having to patch this on my local

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.

4 participants