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-13891] SwiftPM support for multiple pkgConfig paths officially #4471

Open
swift-ci opened this issue Nov 24, 2020 · 1 comment
Open

[SR-13891] SwiftPM support for multiple pkgConfig paths officially #4471

swift-ci opened this issue Nov 24, 2020 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-13891
Radar rdar://problem/71712727
Original Reporter Dadoum (JIRA User)
Type Bug
Environment

EndeavourOS latest.

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 96faa244bd87b4585b680c7b7f9f70aa

Issue Description:

Actually, pkgConfig path are a single string, for one file. Some people uses spaces as delimiter for multiple files. But it causes some issues on some OSes (like Arch Linux), because it does not split correctly names.

The main example is SwiftGtk that is unbuildable on arch linux because of GLib's pkg-config files (glib-2.0 and gio-unix-2.0) are recognized diffently on Ubuntu by example ("glib-2.0.pc" and "gio-unix-2.0.pc") and Arch-derrivatives ('glib-2.0 gio-unix-2.0.pc').

Possible fix: use pkgConfig: [String] with an array to let developer properly split its pkg-config files.

@typesanitizer
Copy link

@swift-ci create

@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
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

3 participants