Skip to content
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

[SR-14493] System library targets don't look outside the SDK on macOS #4435

Open
Lukasa opened this issue Apr 15, 2021 · 5 comments
Open

[SR-14493] System library targets don't look outside the SDK on macOS #4435

Lukasa opened this issue Apr 15, 2021 · 5 comments
Labels

Comments

@Lukasa
Copy link
Contributor

Lukasa commented Apr 15, 2021

Previous ID SR-14493
Radar rdar://problem/76704075
Original Reporter @Lukasa
Type Bug
Status Reopened
Resolution
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee @neonichu
Priority Medium

md5: 304abf79948934d5fe4888d4af1bc861

Issue Description:

When using system library targets on macOS, builds will consistently fail to link or include any library that is present on the system but outside the SDK. This makes it very hard to actually use libraries of this form, as they invariably force users to use unsafeFlags to actually get the linker to work.

@Lukasa
Copy link
Contributor Author

Lukasa commented Apr 15, 2021

@swift-ci create

@swift-ci
Copy link
Contributor

Comment by security researcher (JIRA)

gyg

@Lukasa
Copy link
Contributor Author

Lukasa commented Apr 27, 2021

Reopening

@swift-ci
Copy link
Contributor

Comment by Rick M (JIRA)

And if you use unsafeFlags, Xcode will refuse to link against that package.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
@Lancelotbronner
Copy link

This is still an issue, in my case hitting it with vulkan

@neonichu neonichu removed their assignment Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants