aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/lxdialog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/config/lxdialog/Makefile')
-rw-r--r--scripts/config/lxdialog/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile
index a82b2bac99..aed08e0170 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