Hello there. I'm having a bit of a weird issue when trying to build a project with a dependency on a C systemLibrary.
Package.swift I have the following line in the
.systemLibrary(name: "Cwlroots", pkgConfig: "wlroots"),
Everything seems to be set up correctly, but when I run
swift build, I get an error stating that
pixman.h cannot be found in a C-header file.
pkg-config --cflags wlroots yields:
If I run
swift build with the flag
-Xcc -I/usr/include/pixman-1, the package builds successfully.
I'm unsure whether this is an issue with my configuration, or if this is a bug with the package manager.
Please let me know if I can provide any more information that would be helpful.