From ce4c6fb990997679991fd84767f8f3e1b893345e Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 13 Jul 2012 12:16:02 -0400 Subject: Fixes to compile textadept-ncurses on BSD; src/Makefile --- src/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3