← Back to issue list

extensions/gnome: Add sdk include directories to C_INCLUDE_PATH

View original Github issue

Metadata

Project
snapcraft
Number
#5514
Type
pull request
State
open
Author
3v1n0
Labels
Status: Needs information
Created
2025-05-27 03:06:20+00:00
Updated
2025-10-08 17:10:04+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The sdk provides a base /usr/include path that should be checked when an including from the default paths. Without this, when a file is including something such as ```c #include <xkbcommon/xkbcommon.h> ``` that is provided by /snap/gnome-46-2404-sdk/current/usr/include, the compiler won't look for such path at all. There's no need to fallback to default `/usr/include` because such path is always included anyways by gcc (at least when that's compiled with such prefix). - [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`?

Evaluation history

No evaluation history available.