Skip to content

Fix static_libraries swallowing sequence of -framework flags#480

Merged
lu-zero merged 1 commit intolu-zero:masterfrom
amyspark:fix-missing-framework-flags-macos
Aug 3, 2025
Merged

Fix static_libraries swallowing sequence of -framework flags#480
lu-zero merged 1 commit intolu-zero:masterfrom
amyspark:fix-missing-framework-flags-macos

Conversation

@amyspark
Copy link
Contributor

@amyspark amyspark commented Aug 3, 2025

Hi @lu-zero ,

This MR fixes a mishap I found when testing the static version of GStreamer's Rust plugins: the code of static_libraries was monching -framework flags, which are unfortunately compound (followed by spaces instead of the -Wl,-framework form).

Removing the uniq() is sufficient, for a more optimized version I'll have to implement the deduplication in #470 .

@amyspark amyspark force-pushed the fix-missing-framework-flags-macos branch from 2608bf8 to 95a99d9 Compare August 3, 2025 14:51
Copy link
Owner

@lu-zero lu-zero left a comment

Choose a reason for hiding this comment

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

Please update the tests accordingly :)

@amyspark amyspark force-pushed the fix-missing-framework-flags-macos branch from 95a99d9 to f61ccbd Compare August 3, 2025 16:58
@lu-zero lu-zero merged commit 17a9ee4 into lu-zero:master Aug 3, 2025
17 checks passed
@amyspark amyspark deleted the fix-missing-framework-flags-macos branch August 28, 2025 14:57
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