projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ip17xx: Cosmetic cleanups
[openwrt.git]
/
scripts
/
config
/
lxdialog
/
Makefile
diff --git
a/scripts/config/lxdialog/Makefile
b/scripts/config/lxdialog/Makefile
index
a82b2ba
..
bdafde0
100644
(file)
--- a/
scripts/config/lxdialog/Makefile
+++ b/
scripts/config/lxdialog/Makefile
@@
-7,7
+7,15
@@
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)
# 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
+ifeq ($(shell uname -o),Cygwin)
+LIBS := -lncurses
+endif
always := $(hostprogs-y) dochecklxdialog
%.o: %.c
always := $(hostprogs-y) dochecklxdialog
%.o: %.c
This page took
0.024736 seconds
and
4
git commands to generate.