Fix noisy pkg-config warnings in sys/install.sh

This commit is contained in:
pancake 2022-06-08 21:14:58 +02:00 committed by pancake
parent cfa477f4ae
commit 821d92d500
1 changed files with 2 additions and 2 deletions

View File

@ -115,9 +115,9 @@ else
fi
NEED_CAPSTONE=1
pkg-config --cflags capstone 2>&1 > /dev/null
pkg-config --cflags capstone > /dev/null 2>&1
if [ $? = 0 ]; then
pkg-config --atleast-version=5.0.0 capstone 2>/dev/null
pkg-config --atleast-version=5.0.0 capstone >/dev/null 2>&1
if [ $? = 0 ]; then
pkg-config --variable=archs capstone 2> /dev/null | grep -q riscv
if [ $? = 0 ]; then