PKG_CONFIG_PATH during build step should include multiarch paths

Bug #1796802 reported by 林博仁(Buo-ren, Lin)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

Currently the PKG_CONFIG_PATH environmental variable is set to `$SNAPCRAFT_STAGE/lib/pkgconfig` during build step, however, some parts install their pc files at `$SNAPCRAFT_STAGE/lib/$DEBIAN_MULTIARCH_TUPLE/pkgconfig` and as a result the files are not read during the building of other parts.

IMO `$SNAPCRAFT_STAGE/lib/$DEBIAN_MULTIARCH_TUPLE/pkgconfig` should also be set as a fallback path.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.