Skip to content

fix: Always create cc_library targets if C/C++ files are present #1594

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jflan-dd
Copy link
Contributor

@jflan-dd jflan-dd commented May 2, 2025

I ran into an issue were we couldn't build the InjectionNext package because there was a C file that wasn't being included in the srcs list of any generated target.

This was because most of the code is in Objective-C++, which creates a target that doesn't include C source files.

This change always creates a dedicated cc_library target for any C/C++ code in the package.

@adincebic
Copy link
Contributor

adincebic commented May 4, 2025

This PR helps in supporting KSCrash as well, see this issue

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.

3 participants