summaryrefslogtreecommitdiffstats
path: root/lib/libkiconv/Makefile
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2012-05-25 22:07:13 +0000
committergabor <gabor@FreeBSD.org>2012-05-25 22:07:13 +0000
commite3765812b6b15da1da6be43ae49b83a8c641de43 (patch)
tree07edc4a98d4b7a649cb200cba2a77d702afadc7f /lib/libkiconv/Makefile
parent0d9131d0d02e011dee7e46b412e084151b01a408 (diff)
downloadFreeBSD-src-e3765812b6b15da1da6be43ae49b83a8c641de43.zip
FreeBSD-src-e3765812b6b15da1da6be43ae49b83a8c641de43.tar.gz
- Add support for BSD iconv when it is build into libc
PR: bin/162670 Submitted by: Jan Beich <jbeich@tormail.net> MFC after: 2 weeks
Diffstat (limited to 'lib/libkiconv/Makefile')
-rw-r--r--lib/libkiconv/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libkiconv/Makefile b/lib/libkiconv/Makefile
index 4ba860e..2f87f4b 100644
--- a/lib/libkiconv/Makefile
+++ b/lib/libkiconv/Makefile
@@ -17,4 +17,8 @@ CFLAGS+= -I${.CURDIR}/../../sys
WARNS?= 1
+.if !defined(MK_ICONV)
+CFLAGS+= -DICONV_DLOPEN
+.endif
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud