X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..405ff62784ca0e5ab00346208db710ba38f62f03:/scripts/config/lxdialog/Makefile?ds=sidebyside diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile index a82b2bac9..aed08e017 100644 --- a/scripts/config/lxdialog/Makefile +++ b/scripts/config/lxdialog/Makefile @@ -7,7 +7,14 @@ all: lxdialog # we really need to do so. (Do not call gcc as part of make mrproper) CFLAGS := $(shell sh check-lxdialog.sh -ccflags) LIBS := $(shell sh check-lxdialog.sh -ldflags gcc) - + +# workaround for OpenBSD, which does not use symlinks to libncurses.so +OS := $(shell uname -s) +ifeq ($(strip $(OS)),OpenBSD) +LIBS := -lncurses +endif + + always := $(hostprogs-y) dochecklxdialog %.o: %.c