Removed patches and config for non-functional 2.6.22 kernel
[openwrt.git] / scripts / config / lxdialog / Makefile
index a82b2ba..aed08e0 100644 (file)
@@ -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
This page took 0.02253 seconds and 4 git commands to generate.