X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Flxdialog%2FMakefile;h=a45a13fb26ed7a58e41f5d716a374dc25de03b5f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=cdc4024a8830ee89d09328565163f66364c2183b;hpb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;p=linux-2.6.git diff --git a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile index cdc4024a8..a45a13fb2 100644 --- a/scripts/lxdialog/Makefile +++ b/scripts/lxdialog/Makefile @@ -1,5 +1,9 @@ HOST_EXTRACFLAGS := -DLOCALE +ifeq ($(shell uname),SunOS) +HOST_LOADLIBES := -lcurses +else HOST_LOADLIBES := -lncurses +endif ifeq (/usr/include/ncurses/ncurses.h, $(wildcard /usr/include/ncurses/ncurses.h)) HOST_EXTRACFLAGS += -I/usr/include/ncurses -DCURSES_LOC=""