aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index c33dc625..54f39cc2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -57,6 +57,9 @@ ifneq (, $(or $(findstring Linux, $(kernel)), $(findstring BSD, $(kernel))))
LDFLAGS += -ldl
MAKE = make
else
+ ifeq (ncurses, $(MAKECMDGOALS))
+ LDFLAGS += -liconv
+ endif
MAKE = gmake
endif