From c84adeb8b0df592871b8085536c141cc0c99afcd Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Mon, 9 Sep 2024 22:18:41 +0400 Subject: dep.sh: c library check added --- dep.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dep.sh b/dep.sh index b3e672c..7ce898f 100755 --- a/dep.sh +++ b/dep.sh @@ -50,3 +50,12 @@ check \ xgamma check_with_msg startx "'xorg-xinit' is missing." + +# C X11 dependencies + +check_with_msg cc "c compiler is missing" +check_with_msg ld "linker is missing" + +if ! command -v ld -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft > /dev/null 2>&1;then + echo "Xorg library files missing" +fi -- cgit v1.2.3