aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-07-13 12:16:02 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-07-13 12:16:02 -0400
commitce4c6fb990997679991fd84767f8f3e1b893345e (patch)
treea99a34ad092dc1d01f200f23712690490cdb0b16 /src
parentb32f32675e5673f6b138eff71f6f4bcbdb7415e1 (diff)
downloadtextadept-ce4c6fb990997679991fd84767f8f3e1b893345e.tar.gz
textadept-ce4c6fb990997679991fd84767f8f3e1b893345e.zip
Fixes to compile textadept-ncurses on BSD; src/Makefile
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