We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 076d88a + 2f8bd1c commit 6537593Copy full SHA for 6537593
scripts/kconfig/lxdialog/check-lxdialog.sh
100755
100644
@@ -5,6 +5,10 @@
5
# What library to link
6
ldflags()
7
{
8
+ if [ "$CROSS_CURSES_LIB" != "" ]; then
9
+ echo "$CROSS_CURSES_LIB"
10
+ exit
11
+ fi
12
pkg-config --libs ncursesw 2>/dev/null && exit
13
pkg-config --libs ncurses 2>/dev/null && exit
14
for ext in so a dll.a dylib ; do
@@ -22,6 +26,10 @@ ldflags()
22
26
# Where is ncurses.h?
23
27
ccflags()
24
28
29
+ if [ x"$CROSS_CURSES_INC" != x ]; then
30
+ echo "$CROSS_CURSES_INC"
31
32
25
33
if pkg-config --cflags ncursesw 2>/dev/null; then
34
echo '-DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1'
35
elif pkg-config --cflags ncurses 2>/dev/null; then
0 commit comments