Use SNAPCRAFT_PARALLEL_BUILD_COUNT instead of nproc in snap

This commit is contained in:
Ilya Fedin 2021-01-30 04:42:03 +04:00 committed by John Preston
parent 87895466dc
commit 0b5213a9cb
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ parts:
-I $SNAPCRAFT_STAGE/usr/include \
-L $SNAPCRAFT_STAGE/usr/lib/$SNAPCRAFT_ARCH_TRIPLET
make -j$(nproc)
make -j$SNAPCRAFT_PARALLEL_BUILD_COUNT
make INSTALL_ROOT="$SNAPCRAFT_PART_INSTALL" install
stage:
- -./usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libjpeg.so.8.2.2