diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-10 20:58:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-10 20:58:51 +0000 |
commit | c5c7a2e5ab5b35b59b2144d8cde262c5ac4374ba (patch) | |
tree | 99b99c54ae02988470cfac4b08c1f1837230265a /scripts/config/lxdialog/Makefile | |
parent | 3310901f9b674751683d5e995cdb2e5af5c9cfda (diff) | |
download | mtk-20170518-c5c7a2e5ab5b35b59b2144d8cde262c5ac4374ba.zip mtk-20170518-c5c7a2e5ab5b35b59b2144d8cde262c5ac4374ba.tar.gz mtk-20170518-c5c7a2e5ab5b35b59b2144d8cde262c5ac4374ba.tar.bz2 |
add openbsd compatibility patch (thanks, wbx)
SVN-Revision: 5749
Diffstat (limited to 'scripts/config/lxdialog/Makefile')
-rw-r--r-- | scripts/config/lxdialog/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/config/lxdialog/Makefile b/scripts/config/lxdialog/Makefile index a82b2ba..aed08e0 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 |