about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1e34129..b95cee4 100644
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,13 @@ ifeq ($(uname_O),Cygwin)
 	NEEDS_LIBICONV = YesPlease
 endif
 
+ifeq ($(uname_S),FreeBSD)
+	# Apparantly libiconv is installed in /usr/local on FreeBSD
+	LDFLAGS ?= -L/usr/local/lib
+	CFLAGS ?= -I/usr/local/include
+	NEEDS_LIBICONV = yes
+endif
+
 #
 # Let the user override the above settings.
 #