ci: minimize installed libboost packages
Change-Id: Iccaa39bbffb218cfe693ccf2e48c56d24fbd98aa
diff --git a/.jenkins.d/10-build.sh b/.jenkins.d/10-build.sh
index c1e2ded..e6e505d 100755
--- a/.jenkins.d/10-build.sh
+++ b/.jenkins.d/10-build.sh
@@ -38,9 +38,9 @@
# Install
sudo ./waf --color=yes install
-if [[ $ID_LIKE == *fedora* ]]; then
- sudo tee /etc/ld.so.conf.d/ndn.conf >/dev/null <<< /usr/local/lib64
-fi
if [[ $ID_LIKE == *linux* ]]; then
+ if [[ $(uname -m) == x86_64 && -d /usr/lib64 ]]; then
+ sudo tee /etc/ld.so.conf.d/ndn.conf >/dev/null <<< /usr/local/lib64
+ fi
sudo ldconfig
fi