Use SNAPCRAFT_ARCH_TRIPLET for GI_TYPELIB_PATH

Instead of using $SNAP_ARCH-linux-gnu, this environment variable should
be set to use the SNAPCRAFT_ARCH_TRIPLET.

Closes-Bug: #1943374
Change-Id: Ia066bfe8c16d41a339519cd3f0965d5d9926be86
changes/94/817494/1
Billy Olsen 2021-11-10 16:48:05 -07:00
parent 839a895d4f
commit 2425d7822d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ environment:
PYTHONPATH: $PYTHONPATH:/usr/lib/python3.8:/usr/lib/python3/dist-packages:$SNAP/usr/lib/python3.8:$SNAP/lib/python3.8/site-packages:$SNAP/usr/lib/python3/dist-packages
PYTHONWARNINGS: ignore
# Needed by a targetcli dependency.
GI_TYPELIB_PATH: $SNAP/usr/lib/$SNAP_ARCH-linux-gnu/girepository-1.0
GI_TYPELIB_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/girepository-1.0
architectures:
- build-on: amd64