Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit d1f1c02e9e9b752c6c0efa2714d9220456af9017 Author: minzique <minzique@protonmail.com> Date: Mon Jan 30 18:30:32 2023 +0000 check for both ncursesw and ncurses diff --git a/config.mk b/config.mk index af955e2..ee5164f 100644 --- a/config.mk +++ b/config.mk @@ -34 +34 @@ PREFIX = /usr/local  ICONS = 1  CFLAGS += -Iinclude -Wall -Wextra -pedantic -DICONS=${ICONS}   -LDFLAGS = `pkg-config --libs-only-l ncursesw` +LDFLAGS = `pkg-config --exists ncursesw && pkg-config --libs ncursesw || pkg-config --libs ncurses`