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
This commit is contained in:
parent
839a895d4f
commit
2425d7822d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user